Skip to content

Commit

Permalink
Docs fix for kubectl proxy configuration
Browse files Browse the repository at this point in the history
Follow-up to kubernetes#32245
  • Loading branch information
xurizaemon committed Apr 13, 2022
1 parent 0d171a1 commit 6893daa
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,25 +150,24 @@ are stored absolutely.

## Proxy

You can configure `kubectl` to use proxy by setting `proxy-url` in the kubeconfig file, like:
You can configure `kubectl` to use a proxy per cluster using `proxy-url` in your kubeconfig file, like this:

```yaml
apiVersion: v1
kind: Config

proxy-url: https://proxy.host:3128

clusters:
- cluster:
proxy-url: http://proxy.example.org:3128
server: https://k8s.example.org/k8s/clusters/c-xxyyzz
name: development

users:
- name: developer

contexts:
- context:
name: development

name: development
```


Expand Down

0 comments on commit 6893daa

Please sign in to comment.