Use busybox image v1.28 for DNS related examples (#13336)

This commit is contained in:
Dani Comnea
2019-03-22 22:32:10 +00:00
committed by Kubernetes Prow Robot
parent 8c4a729d84
commit 7c987a81b8
3 changed files with 10 additions and 10 deletions
@@ -112,19 +112,19 @@ metadata:
pod.beta.kubernetes.io/init-containers: '[
{
"name": "init-myservice",
"image": "busybox",
"image": "busybox:1.28",
"command": ["sh", "-c", "until nslookup myservice; do echo waiting for myservice; sleep 2; done;"]
},
{
"name": "init-mydb",
"image": "busybox",
"image": "busybox:1.28",
"command": ["sh", "-c", "until nslookup mydb; do echo waiting for mydb; sleep 2; done;"]
}
]'
spec:
containers:
- name: myapp-container
image: busybox
image: busybox:1.28
command: ['sh', '-c', 'echo The app is running! && sleep 3600']
```
@@ -140,14 +140,14 @@ metadata:
spec:
containers:
- name: myapp-container
image: busybox
image: busybox:1.28
command: ['sh', '-c', 'echo The app is running! && sleep 3600']
initContainers:
- name: init-myservice
image: busybox
image: busybox:1.28
command: ['sh', '-c', 'until nslookup myservice; do echo waiting for myservice; sleep 2; done;']
- name: init-mydb
image: busybox
image: busybox:1.28
command: ['sh', '-c', 'until nslookup mydb; do echo waiting for mydb; sleep 2; done;']
```