mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
Merge pull request #1285 from emilianolangella/patch-1
Update use-fleet-behind-a-proxy.md
This commit is contained in:
@@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace <PROXY_IP>
|
|||||||
|
|
||||||
## Setting Environment Variables in the Rancher UI
|
## Setting Environment Variables in the Rancher UI
|
||||||
|
|
||||||
To add the environment variable to an existing cluster,
|
To add the environment variable to an existing cluster:
|
||||||
|
|
||||||
|
<Tabs groupId="k8s-distro">
|
||||||
|
<TabItem value="RKE2/K3s" default>
|
||||||
|
|
||||||
|
1. Click **☰ > Cluster Management**.
|
||||||
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
|
1. Click **Agent Environment Vars** under **Cluster configuration**.
|
||||||
|
1. Click **Add**.
|
||||||
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="RKE">
|
||||||
|
|
||||||
1. Click **☰ > Cluster Management**.
|
1. Click **☰ > Cluster Management**.
|
||||||
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
@@ -39,6 +52,9 @@ To add the environment variable to an existing cluster,
|
|||||||
1. Enter the [required environment variables](#required-environment-variables)
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
1. Click **Save**.
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
**Result:** The Fleet agent works behind a proxy.
|
**Result:** The Fleet agent works behind a proxy.
|
||||||
|
|
||||||
## Setting Environment Variables on Private Nodes
|
## Setting Environment Variables on Private Nodes
|
||||||
@@ -55,4 +71,4 @@ export HTTP_PROXY=http://${proxy_private_ip}:8888
|
|||||||
export HTTPS_PROXY=http://${proxy_private_ip}:8888
|
export HTTPS_PROXY=http://${proxy_private_ip}:8888
|
||||||
export NO_PROXY=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local
|
export NO_PROXY=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local
|
||||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
||||||
```
|
```
|
||||||
|
|||||||
+17
-1
@@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace <PROXY_IP>
|
|||||||
|
|
||||||
## Setting Environment Variables in the Rancher UI
|
## Setting Environment Variables in the Rancher UI
|
||||||
|
|
||||||
To add the environment variable to an existing cluster,
|
To add the environment variable to an existing cluster:
|
||||||
|
|
||||||
|
<Tabs groupId="k8s-distro">
|
||||||
|
<TabItem value="RKE2/K3s" default>
|
||||||
|
|
||||||
|
1. Click **☰ > Cluster Management**.
|
||||||
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
|
1. Click **Agent Environment Vars** under **Cluster configuration**.
|
||||||
|
1. Click **Add**.
|
||||||
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="RKE">
|
||||||
|
|
||||||
1. Click **☰ > Cluster Management**.
|
1. Click **☰ > Cluster Management**.
|
||||||
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
@@ -39,6 +52,9 @@ To add the environment variable to an existing cluster,
|
|||||||
1. Enter the [required environment variables](#required-environment-variables)
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
1. Click **Save**.
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
**Result:** The Fleet agent works behind a proxy.
|
**Result:** The Fleet agent works behind a proxy.
|
||||||
|
|
||||||
## Setting Environment Variables on Private Nodes
|
## Setting Environment Variables on Private Nodes
|
||||||
|
|||||||
+17
-1
@@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace <PROXY_IP>
|
|||||||
|
|
||||||
## Setting Environment Variables in the Rancher UI
|
## Setting Environment Variables in the Rancher UI
|
||||||
|
|
||||||
To add the environment variable to an existing cluster,
|
To add the environment variable to an existing cluster:
|
||||||
|
|
||||||
|
<Tabs groupId="k8s-distro">
|
||||||
|
<TabItem value="RKE2/K3s" default>
|
||||||
|
|
||||||
|
1. Click **☰ > Cluster Management**.
|
||||||
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
|
1. Click **Agent Environment Vars** under **Cluster configuration**.
|
||||||
|
1. Click **Add**.
|
||||||
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="RKE">
|
||||||
|
|
||||||
1. Click **☰ > Cluster Management**.
|
1. Click **☰ > Cluster Management**.
|
||||||
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
@@ -39,6 +52,9 @@ To add the environment variable to an existing cluster,
|
|||||||
1. Enter the [required environment variables](#required-environment-variables)
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
1. Click **Save**.
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
**Result:** The Fleet agent works behind a proxy.
|
**Result:** The Fleet agent works behind a proxy.
|
||||||
|
|
||||||
## Setting Environment Variables on Private Nodes
|
## Setting Environment Variables on Private Nodes
|
||||||
|
|||||||
+17
-1
@@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace <PROXY_IP>
|
|||||||
|
|
||||||
## Setting Environment Variables in the Rancher UI
|
## Setting Environment Variables in the Rancher UI
|
||||||
|
|
||||||
To add the environment variable to an existing cluster,
|
To add the environment variable to an existing cluster:
|
||||||
|
|
||||||
|
<Tabs groupId="k8s-distro">
|
||||||
|
<TabItem value="RKE2/K3s" default>
|
||||||
|
|
||||||
|
1. Click **☰ > Cluster Management**.
|
||||||
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
|
1. Click **Agent Environment Vars** under **Cluster configuration**.
|
||||||
|
1. Click **Add**.
|
||||||
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="RKE">
|
||||||
|
|
||||||
1. Click **☰ > Cluster Management**.
|
1. Click **☰ > Cluster Management**.
|
||||||
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
@@ -39,6 +52,9 @@ To add the environment variable to an existing cluster,
|
|||||||
1. Enter the [required environment variables](#required-environment-variables)
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
1. Click **Save**.
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
**Result:** The Fleet agent works behind a proxy.
|
**Result:** The Fleet agent works behind a proxy.
|
||||||
|
|
||||||
## Setting Environment Variables on Private Nodes
|
## Setting Environment Variables on Private Nodes
|
||||||
|
|||||||
+17
-1
@@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace <PROXY_IP>
|
|||||||
|
|
||||||
## Setting Environment Variables in the Rancher UI
|
## Setting Environment Variables in the Rancher UI
|
||||||
|
|
||||||
To add the environment variable to an existing cluster,
|
To add the environment variable to an existing cluster:
|
||||||
|
|
||||||
|
<Tabs groupId="k8s-distro">
|
||||||
|
<TabItem value="RKE2/K3s" default>
|
||||||
|
|
||||||
|
1. Click **☰ > Cluster Management**.
|
||||||
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
|
1. Click **Agent Environment Vars** under **Cluster configuration**.
|
||||||
|
1. Click **Add**.
|
||||||
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="RKE">
|
||||||
|
|
||||||
1. Click **☰ > Cluster Management**.
|
1. Click **☰ > Cluster Management**.
|
||||||
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**.
|
||||||
@@ -39,6 +52,9 @@ To add the environment variable to an existing cluster,
|
|||||||
1. Enter the [required environment variables](#required-environment-variables)
|
1. Enter the [required environment variables](#required-environment-variables)
|
||||||
1. Click **Save**.
|
1. Click **Save**.
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
**Result:** The Fleet agent works behind a proxy.
|
**Result:** The Fleet agent works behind a proxy.
|
||||||
|
|
||||||
## Setting Environment Variables on Private Nodes
|
## Setting Environment Variables on Private Nodes
|
||||||
|
|||||||
Reference in New Issue
Block a user