Commit 3d8a3a80 authored by Satnam Singh's avatar Satnam Singh

Merge pull request #10067 from lavalamp/miscFix

fix config file
parents 59a96f10 63d8e083
...@@ -2,51 +2,33 @@ ...@@ -2,51 +2,33 @@
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "kubectl-tester" "name": "porter"
}, },
"spec": { "spec": {
"containers": [ "containers": [
{ {
"name": "bb", "name": "porter",
"image": "gcr.io/google_containers/busybox", "image": "gcr.io/google_containers/porter:91d46193649807d1340b46797774d8b2",
"command": [
"sh", "-c", "sleep 5; wget -O - ${KUBERNETES_RO_SERVICE_HOST}:${KUBERNETES_RO_SERVICE_PORT}/api/v1/pods/; sleep 10000"
],
"ports": [
{
"containerPort": 8080
}
],
"env": [ "env": [
{ {
"name": "KUBERNETES_RO_SERVICE_HOST", "name": "SERVE_PORT_80",
"value": "127.0.0.1" "value": "foo"
}, },
{ {
"name": "KUBERNETES_RO_SERVICE_PORT", "name": "SERVE_PORT_81",
"value": "8001" "value": "<html><head></head><body><a href=\"/rewriteme\">rewritten link</a></body></html>"
} }
], ],
"volumeMounts": [ "ports": [
{ {
"name": "test-volume", "name": "p80",
"mountPath": "/mount/test-volume" "containerPort": 80
}
]
}, },
{ {
"name": "kubectl", "name": "p81",
"image": "gcr.io/google_containers/kubectl:v0.18.0-120-gaeb4ac55ad12b1-dirty", "containerPort": 81
"imagePullPolicy": "Always",
"args": [
"proxy", "-p", "8001"
]
} }
], ]
"volumes": [
{
"name": "test-volume",
"emptyDir": {}
} }
] ]
} }
......
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