openstack-cloud-controller-manager
by CERN
Openstack Cloud Controller Manager Helm Chart
About this chart
openstack-cloud-controller-manager
Deploys the OpenStack Cloud Controller Manager to your cluster.
Default configuration values are the same as the CCM itself.
How To install
You need to configure an openstack-ccm.yaml values file with at least:
cloudConfig.global.auth-urlwith the Keystone URL- Authentication
- with password:
cloudConfig.global.usernameandcloudconfig.global.password - with application credentials: (
cloudConfig.global.application-credential-idorcloudConfig.global.application-credential-name) andcloudConfig.global.application-credential-secret
- with password:
- Load balancing
cloudConfig.loadBalancer.floating-network-idorcloudConfig.loadBalancer.floating-subnet-idorcloudConfig.loadBalancer.floating-subnet
If you want to enable health checks for your Load Balancers (optional), set cloudConfig.loadBalancer.create-monitor: true.
Then run:
helm repo add cpo https://kubernetes.github.io/cloud-provider-openstack
helm repo update
helm install openstack-ccm cpo/openstack-cloud-controller-manager --values openstack-ccm.yaml
Using an external secret
In order to use an external secret for the OCCM:
secret:
enabled: true
name: cloud-config
create: false
Create the secret with:
kubectl create secret -n kube-system generic cloud-config --from-file=./cloud.conf
Tolerations
To deploy OCCM to worker nodes only (e.g. when the controlplane is isolated), adjust the tolerations in the chart:
tolerations:
- key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
effect: NoSchedule
Unsupported configurations
- The chart does not support the mounting of custom
clouds.yamlfiles. Therefore, the following config values in the[Global]section won’t have any effect:use-cloudsclouds-filecloud
Deploy openstack-cloud-controller-manager with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openstack-cloud-controller-manager on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopenstack-cloud-controller-manager is pinned at v2.37.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply