update examples/explorer to v1

This commit is contained in:
Chao Xu 2015-06-09 15:29:15 -07:00
parent 3e7bcd1ecc
commit c318079ca7
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ $ kctl create -f pod.json
$ kctl proxy & $ kctl proxy &
Starting to serve on localhost:8001 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 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=explorer HOSTNAME=explorer
KIBANA_LOGGING_PORT_5601_TCP_PORT=5601 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 KUBERNETES_PORT_443_TCP_ADDR=10.0.0.2
HOME=/ 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/ mount/
var/ var/
.dockerenv .dockerenv
@ -91,9 +91,9 @@ sys/
README.md README.md
explorer 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
<html><head></head><body> <html><head></head><body>
<form action="/api/v1beta3/proxy/namespaces/default/pods/explorer:8080/dns"> <form action="/api/v1/proxy/namespaces/default/pods/explorer:8080/dns">
<input name="q" type="text" value="elasticsearch-logging"/> <input name="q" type="text" value="elasticsearch-logging"/>
<button type="submit">Lookup</button> <button type="submit">Lookup</button>
</form> </form>

View File

@ -1,6 +1,6 @@
{ {
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta3", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "explorer" "name": "explorer"
}, },