Skip to content

em-sav/devpod-operator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevPod Operator

Experiment with the Java Operator SDK.

Goal: Reproduce Uber's DevPod, but simpler!

CNCF Operator Framework (French)

Dev set up

🐳 Build Docker image

mvn clean compile
mvn jib:dockerBuild

☸️ Kind cluster

If you don't have any cluster, start a KinD!

# Create kind cluster
kind create cluster --config="./k8s/kind/config.yaml" --name=cncf-cluster

# Delete kind cluster
kind delete cluster -n cncf-cluster

# Load local image in KinD cluster
kind -n cncf-cluster load docker-image devpod-operator

💻 Installation

# Create a new namespace
kubectl create namespace "cncf"
kubectl config set-context --namespace=cncf --current

# Install the Operator
kubectl apply -f ./k8s/operator.yaml

# Install the CRDs
kubectl apply -f ./target/classes/META-INF/fabric8/devpods.com.cncf-v1.yml

# Start using the CRDs
kubectl apply -f ./k8s/devpod-charles.yaml

🚀 Usage

# Deploy your CRDs
kubectl apply -f ./k8s/devpod-charles.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 89.8%
  • Dockerfile 6.1%
  • Shell 4.1%