From 0987152d62cd502e9d3d76f1e17a1ab2d03d2b6e Mon Sep 17 00:00:00 2001 From: Paige Calvert Date: Mon, 28 Apr 2025 09:49:23 -0600 Subject: [PATCH] EC respects env vars --- docs/partials/embedded-cluster/_proxy-env-vars.mdx | 1 + docs/reference/embedded-cluster-install.mdx | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/partials/embedded-cluster/_proxy-env-vars.mdx diff --git a/docs/partials/embedded-cluster/_proxy-env-vars.mdx b/docs/partials/embedded-cluster/_proxy-env-vars.mdx new file mode 100644 index 0000000000..67545dfe97 --- /dev/null +++ b/docs/partials/embedded-cluster/_proxy-env-vars.mdx @@ -0,0 +1 @@ +Embedded Cluster 2.4.0 and later also respects the `http_proxy`, `https_proxy`, and `no_proxy` environment variables for installing behind a proxy. When set, the `--http-proxy`, `--https-proxy`, `--no-proxy` flags take precedence over environment variables. Additionally, lowercase environment variables (`http_proxy`) take precedence over uppercase (`HTTP_PROXY`). \ No newline at end of file diff --git a/docs/reference/embedded-cluster-install.mdx b/docs/reference/embedded-cluster-install.mdx index cb170513bd..c170cb48bd 100644 --- a/docs/reference/embedded-cluster-install.mdx +++ b/docs/reference/embedded-cluster-install.mdx @@ -1,6 +1,6 @@ import ProxyLimitations from "../partials/embedded-cluster/_proxy-install-limitations.mdx" import ProxyRequirements from "../partials/embedded-cluster/_proxy-install-reqs.mdx" - +import ProxyEnvVars from "../partials/embedded-cluster/_proxy-env-vars.mdx" # Embedded Cluster Install Command Options @@ -70,6 +70,7 @@ sudo ./APP_SLUG install --license PATH_TO_LICENSE [flags] `--http-proxy`

Proxy server to use for HTTP.

+ @@ -78,6 +79,7 @@ sudo ./APP_SLUG install --license PATH_TO_LICENSE [flags] `--https-proxy`

Proxy server to use for HTTPS.

+ @@ -118,6 +120,7 @@ sudo ./APP_SLUG install --license PATH_TO_LICENSE [flags]
  • The CIDR block used for assigning IPs to Kubernetes Pods and Services. By default, the CIDR block is `10.244.0.0/16`. For information about how to change this default, see [Set IP Address Range for Pods and Services](#set-ip-address-range-for-pods-and-services).
  • To ensure your application's internal cluster communication is not proxied, use fully qualified domain names like `my-service.my-namespace.svc` or `my-service.my-namespace.svc.cluster.local`.

    +