Skip to content

A kubernetes operator created for demo purpose to use in presentation.

Notifications You must be signed in to change notification settings

mstrYoda/go-turkiye-operator-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Operator SDK - Creating Custom Resource & Controllers

operator-sdk new hello-operator
operator-sdk add api --api-version=goturkiye.com/v1 --kind=Hello
operator-sdk add controller --api-version=goturkiye.com/v1 --kind=Hello
operator-sdk generate crds && operator-sdk generate k8s

Deploy & Run Operator

kubectl apply -f deploy/crds/*_crd.yaml
kubectl apply -f deploy/crds/*_cr.yaml
operator-sdk run local
operator-sdk build image-name:tag

About

A kubernetes operator created for demo purpose to use in presentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages