...
Code Block |
---|
clusterctl init --infrastructure=openstack:v0.109.40 --kubeconfig=$CLUSTER_NAME.kubeconfig clusterctl move --to-kubeconfig $CLUSTER_NAME.kubeconfig -n clusters |
...
Code Block |
---|
curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.7.4/clusterctl-linux-amd64 -o clusterctl chmod +x ./clusterctl sudo mv ./clusterctl /usr/local/bin/clusterctl clusterctl init --infrastructure=openstack:v0.109.40 |
If you run into GitHub rate limiting you will have to generate a personal API token as described here. This only requires the Repo scope, and is set on the CLI as follows
...
Place this file in the
cloud-capi-values
directory you cloned earlier.Deploy the cluster requirements
Code Block helm repo add capi https://stackhpcazimuth-cloud.github.io/capi-helm-charts helm repo add capi-addons https://stackhpcazimuth-cloud.github.io/cluster-api-addon-provider helm repo update kubectl create namespace clusters helm upgrade cluster-api-addon-provider capi-addons/cluster-api-addon-provider --install --wait -n clusters --version 0.5.9