Skip to content

estherxyx/k8s-crd-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

Demo

Concepts

Install

Create CRD

  • create a CRD definition crd.yaml
  • run kubectl apply -f crd.yaml to apply the CRD definition to the cluster
    • Note: to delete the CRD definition to the cluster
    kubectl delete crd ephemeralvolumeclaims.kopf.dev
    kubectl delete -f crd.yaml
  • create a sample object obj.yaml
  • run kubectl apply -f obj.yaml to create the sample object in the cluster

Create CRD operator

  • create a CRD operator ephemeral.py
  • run kopf run ephemeral.py --verbose to aookt

About

k8s CRD controller with minikube dashboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages