Commit a1840218 authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9588 from caesarxuchao/kubectl-container-examples-v1

update examples/kubectl-container to v1
parents d2b17a5c 39abc8c4
{
"kind": "Pod",
"apiVersion": "v1beta3",
"apiVersion": "v1",
"metadata": {
"name": "kubectl-tester"
},
......@@ -10,12 +10,11 @@
"name": "bb",
"image": "gcr.io/google_containers/busybox",
"command": [
"sh", "-c", "sleep 5; wget -O - ${KUBERNETES_RO_SERVICE_HOST}:${KUBERNETES_RO_SERVICE_PORT}/api/v1beta3/pods/; sleep 10000"
"sh", "-c", "sleep 5; wget -O - ${KUBERNETES_RO_SERVICE_HOST}:${KUBERNETES_RO_SERVICE_PORT}/api/v1/pods/; sleep 10000"
],
"ports": [
{
"containerPort": 8080,
"protocol": "TCP"
"containerPort": 8080
}
],
"env": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment