Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxy-url example to kubectl documentation #32245

Merged
merged 2 commits into from
Mar 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,28 @@ File references on the command line are relative to the current working director
In `$HOME/.kube/config`, relative paths are stored relatively, and absolute paths
are stored absolutely.

## Proxy

You can configure `kubectl` to use proxy by setting `proxy-url` in the kubeconfig file, like:

```yaml
apiVersion: v1
kind: Config

proxy-url: https://proxy.host/3128
RoSk0 marked this conversation as resolved.
Show resolved Hide resolved

clusters:
- cluster:
name: development

users:
- name: developer

contexts:
- context:
name: development

```


## {{% heading "whatsnext" %}}
Expand Down