mirror of
https://codeberg.org/27/inception-of-things.git
synced 2025-10-13 18:44:45 +02:00
「🔨」 fix: should be workign
This commit is contained in:
@ -13,9 +13,10 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: app1
|
- name: app1
|
||||||
image: traefik/whoami:v1.11
|
image: ghcr.io/traefik/whoami:v1.11
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
command:
|
command:
|
||||||
|
- /whoami
|
||||||
- --port=80
|
- --port=80
|
||||||
- --name=app-one
|
- --name=app-one
|
||||||
|
@ -14,9 +14,10 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: app2
|
- name: app2
|
||||||
image: traefik/whoami
|
image: ghcr.io/traefik/whoami:v1.11
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
command:
|
command:
|
||||||
|
- /whoami
|
||||||
- --port=80
|
- --port=80
|
||||||
- --name=app-two
|
- --name=app-two
|
||||||
|
@ -3,9 +3,9 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: app2-service
|
name: app2-service
|
||||||
spec:
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
app: app2
|
||||||
app: app2
|
|
||||||
ports:
|
ports:
|
||||||
port: 80
|
- port: 80
|
||||||
tragetPort: 80
|
targetPort: 80
|
||||||
|
@ -13,9 +13,10 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: app3
|
- name: app3
|
||||||
image: traefik/whoami
|
image: ghcr.io/traefik/whoami:v1.11
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
command:
|
command:
|
||||||
|
- /whoami
|
||||||
- --port=80
|
- --port=80
|
||||||
- --name=app-three
|
- --name=app-three
|
||||||
|
@ -3,9 +3,9 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: app3-service
|
name: app3-service
|
||||||
spec:
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
app: app3
|
||||||
app: app3
|
|
||||||
ports:
|
ports:
|
||||||
port: 80
|
- port: 80
|
||||||
tragetPort: 80
|
targetPort: 80
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
Reference in New Issue
Block a user