Skip to content

Playing with kubernetes api to listen to events and react on them

Notifications You must be signed in to change notification settings

achalise/kube-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO:

  1. run the manager inside cluster by creating a deployment

Running locally outside cluster

  • Start minikube: minikube start
  • Start kube api proxy: kubectl proxy --port=8080 &
  • Start the kube-watcher app: npm run watch
  • create custom resource def: kubectl create -f config/crd/custom-app-crd.yaml
  • should be able to see the crd: kubectl get crds
  • create custom resource: kubectl create -f config/crd/custom-app.yaml
  • should be able to see the custom app: kubectl get testapps
  • cassandra instance and testappjob instance should be launched and running as a result of custom app being created
  • delete custom resource: kubectl delete -f config/crd/custom-app.yaml
  • custom app should be deleted: kubectl get testapps should show no items
  • cassandra instance and testappjob instance should be removed as a result of custom app being deleted

About

Playing with kubernetes api to listen to events and react on them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages