Deploy a Cluster with Konvoy
You can use a single command line entry to create a Kubernetes cluster on any of the infrastructures supported by DKP. Within your environment, each cluster that you create with the dkp create cluster
command requires a globally-unique cluster name that you specify as a flag. Each Infrastructure Provider has more specifics, but basic DKP deploy steps are listed after the infrastructure provider’s Advanced Configuration section of the documentation.
Refer to your environment or provider sections for details using the links directly below. Otherwise proceed to the Create a Cluster section in chosen infrastructure provider below:
Deploy a Cluster with Konvoy
The basic cluster creation command is:
dkp create cluster <provider> --cluster-name=clustername --self-managed --flag1=value --flag2=value ... --flagn=value
If your environment uses HTTP/HTTPS proxies, you must include the flags --http-proxy
, --https-proxy
, and --no-proxy
and their related values in this command for it to be successful. More information is available in Configuring an HTTP/HTTPS Proxy.
2. For a complete list of supported providers, enter the command:
dkp create cluster --help
The default value for the --self-managed
flag is false
, so you must specify the flag as true
it to enable cluster creation with a single command.
When you execute it, this command performs the following actions:
Creates a bootstrap cluster, if one is not present
Deploys CAPI controllers on the bootstrap cluster
Waits for the cluster to be created, moves the CAPI controllers, and deletes the bootstrap cluster
Infrastructure-specific Flags
Additional flags are available to enable needed features on supported cluster providers, and for on-premises and pre-provisioned clusters. You can view additional provider-specific flags and their descriptions with one of the following commands:
dkp create cluster <provider> --help
For more information on Infrastructure Providers and specific steps for each, see the Advanced Configuration section’s list of providers.
Verify Installation before beginning the installation of Kommander.
Next Step
Once you have done any Advanced Configuration for your provider, proceed to the Install Kommander section using the steps for your environment.