File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ kubectl proxy [--port=PORT] [--www=static-dir] [--www-prefix=prefix] [--api-pref
18
18
$ kubectl proxy --port=8011 --www=./local/www/
19
19
20
20
// Run a proxy to kubernetes apiserver, changing the api prefix to k8s-api
21
- // This makes e.g. the pods api available at localhost:8011/k8s-api/v1beta1 /pods/
22
- $ kubectl proxy --api-prefix=k8s-api
21
+ // This makes e.g. the pods api available at localhost:8011/k8s-api/v1beta3 /pods/
22
+ $ kubectl proxy --api-prefix=/ k8s-api
23
23
```
24
24
25
25
### Options
@@ -64,6 +64,6 @@ $ kubectl proxy --api-prefix=k8s-api
64
64
### SEE ALSO
65
65
* [ kubectl] ( kubectl.md ) - kubectl controls the Kubernetes cluster manager
66
66
67
- ###### Auto generated by spf13/cobra at 2015-05-21 10:33:11.188518514 +0000 UTC
67
+ ###### Auto generated by spf13/cobra at 2015-05-28 20:57:46.689818993 +0000 UTC
68
68
69
69
[ ![ Analytics] ( https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/kubectl_proxy.md?pixel )] ( )
Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ Run a proxy to the Kubernetes API server.
145
145
$ kubectl proxy \-\- port=8011 \-\- www=./local/www/
146
146
147
147
// Run a proxy to kubernetes apiserver, changing the api prefix to k8s\- api
148
- // This makes e.g. the pods api available at localhost:8011/k8s\- api/v1beta1 /pods/
149
- $ kubectl proxy \-\- api\- prefix=k8s\- api
148
+ // This makes e.g. the pods api available at localhost:8011/k8s\- api/v1beta3 /pods/
149
+ $ kubectl proxy \-\- api\- prefix=/ k8s\- api
150
150
151
151
.fi
152
152
.RE
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ const (
32
32
$ kubectl proxy --port=8011 --www=./local/www/
33
33
34
34
// Run a proxy to kubernetes apiserver, changing the api prefix to k8s-api
35
- // This makes e.g. the pods api available at localhost:8011/k8s-api/v1beta1 /pods/
36
- $ kubectl proxy --api-prefix=k8s-api`
35
+ // This makes e.g. the pods api available at localhost:8011/k8s-api/v1beta3 /pods/
36
+ $ kubectl proxy --api-prefix=/ k8s-api`
37
37
)
38
38
39
39
func NewCmdProxy (f * cmdutil.Factory , out io.Writer ) * cobra.Command {
You can’t perform that action at this time.
0 commit comments