Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c318079c
Commit
c318079c
authored
Jun 09, 2015
by
Chao Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update examples/explorer to v1
parent
3e7bcd1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
examples/explorer/README.md
+4
-4
pod.json
examples/explorer/pod.json
+1
-1
No files found.
examples/explorer/README.md
View file @
c318079c
...
...
@@ -18,7 +18,7 @@ $ kctl create -f pod.json
$ kctl proxy &
Starting to serve on localhost:8001
$ curl localhost:8001/api/v1
beta3
/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/v1
beta3
/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/v1
beta3
/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/v1
beta3
/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>
...
...
examples/explorer/pod.json
View file @
c318079c
{
"kind"
:
"Pod"
,
"apiVersion"
:
"v1
beta3
"
,
"apiVersion"
:
"v1"
,
"metadata"
:
{
"name"
:
"explorer"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment