Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.1 KB

Magnum Cluster API Guide.md

File metadata and controls

39 lines (23 loc) · 1.1 KB

Requirements:

  • Openstack Cluster was deployed by Kolla-Ansbile# I tested on Openstack Yoga
  • Octavia must work.
  • Cinder(optional)

Install K8S cluster management

We setup a k8s cluster to manage workload clusters which were created by Magnum.

We need get /root/.kube/config from cluster management.

https://cluster-api.sigs.k8s.io/user/quick-start.html

Magnum

We need log in(as root) to magnum api and magnum conductor and install


apt update
pip install magnum-cluster-api
wget https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz # We can choose other vervion
tar -zxvf helm-v3.13.2-linux-amd64.tar.gz 
mv linux-amd64/helm /usr/local/bin/

We need helm to make this work. Because There is no helm in magnum containers.

Copy /root/.kube/config from cluster management to /var/lib/magnum/.kube/config

How use Magnum CAPI

https://vexxhost.github.io/magnum-cluster-api/user/getting-started/