From c318079ca751fa760a08b247fdfa2aeb7243e7a6 Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Tue, 9 Jun 2015 15:29:15 -0700 Subject: [PATCH] update examples/explorer to v1 --- examples/explorer/README.md | 8 ++++---- examples/explorer/pod.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/explorer/README.md b/examples/explorer/README.md index 92caefd18ec..66cbfbedd0b 100644 --- a/examples/explorer/README.md +++ b/examples/explorer/README.md @@ -18,7 +18,7 @@ $ kctl create -f pod.json $ kctl proxy & Starting to serve on localhost:8001 -$ curl localhost:8001/api/v1beta3/proxy/namespaces/default/pods/explorer:8080/vars/ +$ curl localhost:8001/api/v1/proxy/namespaces/default/pods/explorer:8080/vars/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=explorer KIBANA_LOGGING_PORT_5601_TCP_PORT=5601 @@ -79,7 +79,7 @@ KUBERNETES_PORT_443_TCP_PROTO=tcp KUBERNETES_PORT_443_TCP_ADDR=10.0.0.2 HOME=/ -$ curl localhost:8001/api/v1beta3/proxy/namespaces/default/pods/explorer:8080/fs/ +$ curl localhost:8001/api/v1/proxy/namespaces/default/pods/explorer:8080/fs/ mount/ var/ .dockerenv @@ -91,9 +91,9 @@ sys/ README.md explorer -$ curl localhost:8001/api/v1beta3/proxy/namespaces/default/pods/explorer:8080/dns?q=elasticsearch-logging +$ curl localhost:8001/api/v1/proxy/namespaces/default/pods/explorer:8080/dns?q=elasticsearch-logging -
+
diff --git a/examples/explorer/pod.json b/examples/explorer/pod.json index 99e68332255..25cb803eeb8 100644 --- a/examples/explorer/pod.json +++ b/examples/explorer/pod.json @@ -1,6 +1,6 @@ { "kind": "Pod", - "apiVersion": "v1beta3", + "apiVersion": "v1", "metadata": { "name": "explorer" },