capc (cap ka) is a cluster api provider for the civo platform created for the hackathon for fun! Interested in helping drive it forward? you are more then welcome to join in!
To run this Cluster API with this provider locally:
- Install
clusterctl
:curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/clusterctl-linux-amd64 -o clusterctl
- Create
kind
cluster:kind create cluster
- Save kubeconfig from
kind
and export it:kind get kubeconfig > /tmp/kubeconfig && export KUBECONFIG=/tmp/kubeconfig
- Initialize Cluster API controller:
clusterctl init
- Install CRDs:
kubectl apply -f ./config/samples/crds.yaml
- Export your Civo API key:
export CIVO_API_KEY=your_key
- Run provider controller:
make run
- Apply sample manifest with cluster definition:
kubectl apply -f ./config/samples/cluster.yaml