From a0daf08488af5faa9db7f2942f52d720ea90a574 Mon Sep 17 00:00:00 2001 From: Emiliano Langella Date: Tue, 14 May 2024 13:39:58 +0200 Subject: [PATCH 1/3] Update use-fleet-behind-a-proxy.md I don't see the "Agent Environment Vars" under the "Advanced Options". --- .../fleet/use-fleet-behind-a-proxy.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md b/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md index 1570da5b448..a89748a01a8 100644 --- a/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md +++ b/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md @@ -34,8 +34,8 @@ To add the environment variable to an existing cluster, 1. Click **☰ > Cluster Management**. 1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**. -1. Click **Advanced Options**. -1. Click **Add Environment Variable**. +1. Click **Agent Environment Vars** under **Cluster configuration**. +1. Click **Add**. 1. Enter the [required environment variables](#required-environment-variables) 1. Click **Save**. @@ -55,4 +55,4 @@ export HTTP_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 KUBECONFIG=/etc/rancher/k3s/k3s.yaml -``` \ No newline at end of file +``` From 4dcce5ca6e7bb2fbb1b586b8db9e06309aa623b6 Mon Sep 17 00:00:00 2001 From: martyav Date: Thu, 23 May 2024 14:49:27 -0400 Subject: [PATCH 2/3] versioned --- .../integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md b/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md index 1570da5b448..1f7eaf1abb6 100644 --- a/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md +++ b/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md @@ -34,8 +34,8 @@ To add the environment variable to an existing cluster, 1. Click **☰ > Cluster Management**. 1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**. -1. Click **Advanced Options**. -1. Click **Add Environment Variable**. +1. Click **Agent Environment Vars** under **Cluster configuration**. +1. Click **Add**. 1. Enter the [required environment variables](#required-environment-variables) 1. Click **Save**. From 55e5ff561d8675bc3ef2436258754bdbb1aa8127 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Tue, 9 Jul 2024 14:42:34 -0700 Subject: [PATCH 3/3] Add RKE2/K3s steps to add environment variable --- .../fleet/use-fleet-behind-a-proxy.md | 18 +++++++++++++++++- .../use-fleet-behind-a-proxy.md | 18 +++++++++++++++++- .../use-fleet-behind-a-proxy.md | 18 +++++++++++++++++- .../fleet/use-fleet-behind-a-proxy.md | 18 +++++++++++++++++- .../fleet/use-fleet-behind-a-proxy.md | 18 +++++++++++++++++- 5 files changed, 85 insertions(+), 5 deletions(-) diff --git a/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md b/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md index a89748a01a8..6261f3820b2 100644 --- a/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md +++ b/docs/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md @@ -30,7 +30,10 @@ When adding Fleet agent environment variables for the proxy, replace ## 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: + + + 1. Click **☰ > Cluster Management**. 1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**. @@ -39,6 +42,19 @@ To add the environment variable to an existing cluster, 1. Enter the [required environment variables](#required-environment-variables) 1. Click **Save**. + + + +1. Click **☰ > Cluster Management**. +1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**. +1. Click **Advanced Options**. +1. Click **Add Environment Variable**. +1. Enter the [required environment variables](#required-environment-variables) +1. Click **Save**. + + + + **Result:** The Fleet agent works behind a proxy. ## Setting Environment Variables on Private Nodes diff --git a/versioned_docs/version-2.6/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md b/versioned_docs/version-2.6/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md index 6160a19672a..557d8ca3d68 100644 --- a/versioned_docs/version-2.6/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md +++ b/versioned_docs/version-2.6/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md @@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace ## 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: + + + + +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**. + + + 1. Click **☰ > Cluster Management**. 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. Click **Save**. + + + **Result:** The Fleet agent works behind a proxy. ## Setting Environment Variables on Private Nodes diff --git a/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md b/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md index 6160a19672a..557d8ca3d68 100644 --- a/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md +++ b/versioned_docs/version-2.7/integrations-in-rancher/fleet-gitops-at-scale/use-fleet-behind-a-proxy.md @@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace ## 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: + + + + +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**. + + + 1. Click **☰ > Cluster Management**. 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. Click **Save**. + + + **Result:** The Fleet agent works behind a proxy. ## Setting Environment Variables on Private Nodes diff --git a/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md b/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md index 1f7eaf1abb6..00f1bc9eaff 100644 --- a/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md +++ b/versioned_docs/version-2.8/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md @@ -30,7 +30,10 @@ When adding Fleet agent environment variables for the proxy, replace ## 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: + + + 1. Click **☰ > Cluster Management**. 1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**. @@ -39,6 +42,19 @@ To add the environment variable to an existing cluster, 1. Enter the [required environment variables](#required-environment-variables) 1. Click **Save**. + + + +1. Click **☰ > Cluster Management**. +1. Go to the cluster where you want to add environment variables and click **⋮ > Edit Config**. +1. Click **Advanced Options**. +1. Click **Add Environment Variable**. +1. Enter the [required environment variables](#required-environment-variables) +1. Click **Save**. + + + + **Result:** The Fleet agent works behind a proxy. ## Setting Environment Variables on Private Nodes diff --git a/versioned_docs/version-2.9/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md b/versioned_docs/version-2.9/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md index 1570da5b448..00f1bc9eaff 100644 --- a/versioned_docs/version-2.9/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md +++ b/versioned_docs/version-2.9/integrations-in-rancher/fleet/use-fleet-behind-a-proxy.md @@ -30,7 +30,20 @@ When adding Fleet agent environment variables for the proxy, replace ## 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: + + + + +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**. + + + 1. Click **☰ > Cluster Management**. 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. Click **Save**. + + + **Result:** The Fleet agent works behind a proxy. ## Setting Environment Variables on Private Nodes