Update deployment.yaml
This commit is contained in:
1 parent
37ecc3f0b5
commit
8aa5a8bb61
1 file changed
+10
-4
+10
-4
@@ -1,7 +1,10 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami-deployment
|
name: whoami
|
||||||
|
labels:
|
||||||
|
app: whoami
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -13,5 +16,8 @@ spec:
|
|||||||
app: whoami
|
app: whoami
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: whoami-container
|
- name: whoami
|
||||||
image: containous/whoami
|
image: traefik/whoami
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
containerPort: 80
|
||||||
Reference in new issue
Block a user