Cluster API Provider for Podman
kubebuilder init --domain cluster.x-k8s.io --repo github.com/anusha94/cluster-api-provider-podman
kubebuilder create api --group infrastructure --version v1 --kind PodmanMachineTemplate
kubebuilder create api --group infrastructure --version v1 --kind PodmanMachine
kubebuilder create api --group infrastructure --version v1 --kind PodmanCluster
Any change to the APIs, we have to generate the manifests
make manifests
make generate
Now that our scaffolded code is ready, we will write the provider logic. CAPI defines certain contract that each infrastructure provider has to follow. For each of our controllers, we will follow the same
We will follow the flow diagram mentioned in the Cluster API book for implementing the Cluster Infrastructure
We will follow the flow diagram mentioned in the Cluster API book for implementing the Machine Infrastructure