Installing DKubeX 2.0#

This guide installs DKubeX 2.0 using the Helm chart.

Prerequisites#

Install Helm (Helm 3.x).

Install Helm#

macOS (Homebrew):

brew install helm

Linux:

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

Verify Helm:

helm version

Tokens#

You need two GitHub PATs:

  1. GITHUB_TOKEN and dkubex.env.helm_token: the same fine-grained read-only token used to read the DKubeX 2.0 Helm chart repository.

  2. registry.token: a GitHub PAT for registry access. The user must have access to the DKubeX 2.0 repository on GitHub.

Export them:

export GITHUB_TOKEN="<finegrained_readonly_token_for_helm_repo>"
export REGISTRY_TOKEN="<github_pat_with_access_to_dkubex_repo>"

Install DKubeX 2.0#

helm repo add dkubeio-v0.1 \
	--username "${GITHUB_TOKEN}" \
	--password "${GITHUB_TOKEN}" \
	"https://raw.githubusercontent.com/dkubeio/helm-charts/v0.1/"

helm repo update

helm install -n dkubex --create-namespace dkubex-installer dkubeio-v0.1/dkubex-installer \
	--set registry.token="${REGISTRY_TOKEN}" \
	--set dkubex.env.helm_token="${GITHUB_TOKEN}" \
	--set dkubex.env.helm_url=https://raw.githubusercontent.com/dkubeio/helm-charts/v0.1