Skip to main content
Skip table of contents

Configure the Bootstrap Cluster HTTP/HTTPS Proxy Settings

When creating a bootstrap cluster, you must locate the device used to create the bootstrap in the same proxied environment in which the workload cluster will run. D2iQ does not recommend creating a bootstrap cluster from outside a proxied environment.

When you first install DKP, the API server doesn’t exist yet in the bootstrap environment, because the API server is created during cluster creation. To create a bootstrap server in a proxied environment, you need to include the following flags:

  • --http-proxy <<http proxy list>>

  • --https-proxy <<https proxy list>>

  • --no-proxy <<no proxy list>>

The following is an example dkp create bootstrap command’s syntax with the HTTP proxy settings included:

dkp create bootstrap --http-proxy <<http proxy list>> --https-proxy <<https proxy list>> --no-proxy <<no proxy list>>

Create a Bootstrap Cluster with HTTP Proxy Settings

Note that the delimiter between each proxy value within a flag is a comma ( , ) with no space character following it. The flags can include a mix of IP addresses and domain names.

  1. If an HTTP proxy is required, locate the values to use for the http_proxy, https_proxy, and no_proxy flags. They will be built into the bootstrap cluster during cluster creation.

  2. Create a bootstrap cluster using this command syntax, in addition to any other flags you may need:

    dkp create bootstrap --kubeconfig $HOME/.kube/config \
      --http-proxy <string> \
      --https-proxy <string> \
      --no-proxy <string>

    This code sample shows the command with example values for the proxy settings:

    dkp create bootstrap \
       --http-proxy \
       --https-proxy \
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.