Merge pull request #9525 from caesarxuchao/explorer-examples-v1

update examples/explorer to v1
This commit is contained in:
Abhi Shah 2015-06-11 11:51:17 -07:00
commit f850a6ac20
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ $ kubectl create -f pod.json
$ kubectl 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
@ -78,7 +78,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
@ -90,9 +90,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"
},