Skip to content

Run and debug operator locally against K8S cluster from you JetBrain's Goland IDE

Notifications You must be signed in to change notification settings

Dimss/operator-sdk-jetbrain-goland-debugging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

operator-sdk-jetbrain-goland-debugging

To be albe to run and debug your operator locally not by using operator-sdk up local command but straight from ( in my case ) JetBrain's GoLang IDE, do the following

  1. Export env var KUBERNETES_CONFIG=/path/to/your/kube/config/file
  2. Export env var WATCH_NAMESPACE=default (or any other namespace you like to wath)
  3. Run main.go file from cmd dir

alt text

About

Run and debug operator locally against K8S cluster from you JetBrain's Goland IDE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published