mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-10-14 02:54:45 +02:00
「🏗️」 wip: finished the script for deployment
This commit is contained in:
36
p2/confs/ingress.yml
Normal file
36
p2/confs/ingress.yml
Normal file
@ -0,0 +1,36 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: app-ingress
|
||||
spec:
|
||||
rules:
|
||||
- host: app1.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: app1-service
|
||||
port:
|
||||
number: 80
|
||||
- host: app2.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: app2-service
|
||||
port:
|
||||
number: 80
|
||||
- host: app3.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: app3-service
|
||||
port:
|
||||
number: 80
|
Reference in New Issue
Block a user