A simple kubernetes operator to provision Kubernetes clusters on digital ocean.
- Clone the Repo
- Run Make Install. This will install Cluster CRD.
make install
- Create Digital ocean secret
kubectl create secret generic tokensecret --from-literal=token=<your digital ocean secret>
- Create Cluster CR
Here's a sample CR
apiVersion: api.core.clusterop.io/v1alpha1 kind: Cluster metadata: name: cluster-sample spec: name: test-cluster region: "nyc1" version: "1.27.4-do.0" tokenSecret: "default/tokensecret" nodePools: - count: 3 name: "dummy-nodepool" size: "s-1vcpu-2gb"
- Add Cluster status field
- Add support for EKS, GKE and AKS