Online installs that require a proxy to reach the public Internet can be configured with the kurl
section of the yaml spec.
apiVersion: cluster.kurl.sh/v1beta1
kind: Installer
spec:
kurl:
proxyAddress: http://10.128.0.70:3128
additionalNoProxyAddresses:
- .corporate.internal
- 172.28.16.0/24
noProxy: false
The proxy configuration will be used to download packages required for the installation script to complete and will be applied to the docker and KOTS add-ons. The provided proxy will be configured and used for HTTP and HTTPS access. See Modifying an Install Using a YAML Patch File for more details on using patch files.
Parameter | Type | Description |
---|---|---|
proxyAddress |
string | a URL, including http:// or https:// protocol, of the forward proxy. Both HTTP_PROXY and HTTPS_PROXY will be set to proxyAddress in kURL |
additionalNoProxyAddresses |
string | a YAML list of all domains, IPs, and CIDR blocks that will be added to the list of NO_PROXY addresses |
noProxy |
boolean | if noProxy is set to true then the other proxy fields in the spec are ignored and the installer does not attempt to do any proxy configuration and will ignore the HTTP_PROXY , HTTPS_PROXY , and NO_PROXY variables that are set in the shell. Defaults to false |
If a proxyAddress
is not configured in the installer spec, the following environment variables will be used instead:
Environment variable | Description |
---|---|
HTTP_PROXY /http_proxy |
Will be configured and used for HTTP access |
HTTPS_PROXY /https_proxy |
Will be configured and used for HTTPS access |
NO_PROXY /no_proxy |
Defines the host names/IP addresses that shouldn't go through the proxy |
All addresses set in the additionalNoProxyAddresses
list will be added to the default set of no proxy addresses.
Addresses can be specified as a single IP address or a range of addresses in CIDR notation.
The default set of no proxy addresses includes:
.svc
and .local
search domains for cluster servicesAddresses of all hosts in the cluster must be to included in the additionalNoProxyAddresses
parameter in advance of installing or joining additional nodes.
This parameter can be set using a YAML patch file or passed into the install script using the additional-no-proxy-addresses
flag.
When a host is added to the cluster, if the original list of addresses did not encompass this host's address, the install or upgrade script must be re-run on each host with the new host added to the additionalNoProxyAddresses
parameter.
For this reason it is recommended to use a range of addresses in CIDR notation to prevent the need for retroactively running the installer when adding additonal nodes.