haminhcong / k8s-til

1 stars 0 forks source link

Cluster API on OpenStack #1

Open haminhcong opened 3 years ago

haminhcong commented 3 years ago

Goals

References

haminhcong commented 3 years ago

Error 1 - Missing Load Balancer

Using command:

kubectl apply -f cluster1.yaml

Then check system log when CAPI running to create cluster:

kubectl -n capo-system logs -l control-plane=capo-controller-manager -c manager

the following log showed:


E0316 22:07:29.471903       1 controller.go:257] controller-runtime/controller "msg"="Reconciler error" "error"="failed to create loadbalancer service client: No suitable endpoint could be found in the service catalog." "controller"="openstackmachine" "name"="cluster-1-md-0-frwrt" "namespace"="default"

=> OpenStack Cluster is Missing Load Balancer Service

Solution

haminhcong commented 3 years ago

Error 2 - initramfs problem

https://github.com/kubernetes-sigs/image-builder/issues/464

Solution

haminhcong commented 3 years ago

Error 3 - Controller Image created Failed

Image required disk size at least 20 GB

Solution

Using OpenStack Flavor has root disk size >= 20 GB