HTTP Proxy Override Files
You can use an HTTP proxy configuration when creating your image. The Ansible playbooks create systemd
drop-in files for containerd
and kubelet
to configure the http_proxy
, http_proxy
, and no_proxy
environment variables for the service from the file /etc/konvoy_http_proxy.conf
.
To configure a proxy for use during image creation, create a new override file and specify the following:
# Example override-proxy.yaml
---
http_proxy: http://example.org:8080
https_proxy: http://example.org:8081
no_proxy: example.org,example.com,example.net
These values are only used for the image creation. After the image is created, the Ansible playbooks remove the /etc/konvoy_http_proxy.conf
file.
You can use the dkp
command to configure the KubeadmConfigTemplate
object to create this file on start-up of the image with values supplied during the dkp
invocation. This enables using different proxy settings for image creation and runtime.
Next Topic
Pre-Provisioned Override Files
OR return to cluster creation in the Custom Installation and Additional Infrastructure Tools under your Infrastructure Provider.