Fix kubeconfig example for nginx deployment
Missing the `volumeMounts`, without it the pod will not start
This commit is contained in:
parent
7434c50cdb
commit
15fae6c236
1 changed files with 3 additions and 0 deletions
|
@ -193,6 +193,9 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: default-http-backend
|
- name: default-http-backend
|
||||||
image: gcr.io/google_containers/defaultbackend:1.0
|
image: gcr.io/google_containers/defaultbackend:1.0
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /etc/kubernetes
|
||||||
|
name: kubeconfig
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
|
Loading…
Reference in a new issue