Skip to content

A Kubernetes operator to provision a Kubernetes cluster on DigitalOcean

Notifications You must be signed in to change notification settings

AnshulAngaria/ClusterOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClusterOP

A simple kubernetes operator to provision Kubernetes clusters on digital ocean.

Steps to create Cluster

  1. Clone the Repo
  2. Run Make Install. This will install Cluster CRD.
    make install
    
  3. Create Digital ocean secret
    kubectl create secret generic tokensecret --from-literal=token=<your digital ocean secret>
    
  4. 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"
    

TO-DO

  1. Add Cluster status field
  2. Add support for EKS, GKE and AKS

About

A Kubernetes operator to provision a Kubernetes cluster on DigitalOcean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published