update examples/explorer to v1

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

View File

@ -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
<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"/>
<button type="submit">Lookup</button>
</form>

View File

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