From 55e5ff561d8675bc3ef2436258754bdbb1aa8127 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Tue, 9 Jul 2024 14:42:34 -0700 Subject: [PATCH] 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