This repository provides an example of deploying a DKP cluster on the DVP platform using the dvp-cloud-provider module. The example is intended for demonstration purposes only and is not recommended for production use due to preconfigured secrets (SSH keys and passwords).
The repository includes a Taskfile to simplify environment setup and DKP cluster deployment on DVP. The setup process creates:
- A namespace.
- A ServiceAccount with required permissions.
- An Ubuntu 24.04 image for cluster nodes.
- A jump-host for external access to cluster nodes during bootstrap.
After environment setup, the cluster is bootstrapped using the dhctl utility.
The setup has been tested on Linux. The following tools are required:
yqjqhtpasswdkubectltask
To verify that all required components are installed, run:
task defaultCopy and configure the config.yaml file from the example:
cp config.example.yaml config.yamlBefore starting the deployment, edit config.yaml to include necessary changes, at a minimum specifying the StorageClass for node root disks.
Deploy the environment (namespace, RBAC, etc.):
task infra-deployBootstrap the cluster:
task bootstrapTo perform all deployment steps in one command:
task installTo access the cluster's master node:
task ssh-to-masterTo remove all created resources:
task infra-undeploy && task clean