Skip to content

Commit

Permalink
fix inconsistencies in proxy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pfandzelter authored Jul 14, 2022
1 parent a433bde commit 6e22b21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/content/en/docs/handbook/vpn_and_proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If a HTTP proxy is required to access the internet, you may need to pass the pro
* `HTTPS_PROXY` - The URL to your HTTPS proxy
* `NO_PROXY` - A comma-separated list of hosts which should not go through the proxy.

The NO_PROXY variable here is important: Without setting it, minikube may not be able to access resources within the VM. minikube uses two IP ranges, which should not go through the proxy:
The NO_PROXY variable here is important: Without setting it, minikube may not be able to access resources within the VM. minikube uses four default IP ranges, which should not go through the proxy:

* **192.168.59.0/24**: Used by the minikube VM. Configurable for some hypervisors via `--host-only-cidr`
* **192.168.39.0/24**: Used by the minikube kvm2 driver.
Expand All @@ -34,7 +34,7 @@ One important note: If NO_PROXY is required by non-Kubernetes applications, such
```shell
export HTTP_PROXY=http://<proxy hostname:port>
export HTTPS_PROXY=https://<proxy hostname:port>
export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.39.0/24
export NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.49.0/24,192.168.39.0/24

minikube start
```
Expand All @@ -46,7 +46,7 @@ To make the exported variables permanent, consider adding the declarations to ~/
```shell
set HTTP_PROXY=http://<proxy hostname:port>
set HTTPS_PROXY=https://<proxy hostname:port>
set NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.39.0/24
set NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.59.0/24,192.168.49.0/24,192.168.39.0/24

minikube start
```
Expand Down

0 comments on commit 6e22b21

Please sign in to comment.