DEV Community

Cover image for Debug Kubernetes Operator-sdk v1.0.0 locally in Goland
Austin Cunningham
Austin Cunningham

Posted on

Debug Kubernetes Operator-sdk v1.0.0 locally in Goland

Wrote this Debug Kubernetes Operator-sdk locally in Goland last year before the first major release of the Operator-sdk . Due to changes in the Operator-sdk it's not valid for version v1.0.0 and greater.

Here are the steps to get debug running with v1.0.0

  • In Goland go to Run\Edit Configurations
  • Select Go Build\+
  • Give the configuration a name
  • In Files add the path to main.go
  • In Environment add WATCH_NAMESPACE=your-operators-namespace

Setup goland debug

You can then run the debug from the Run menu

  • Go to run\debug
  • Select the configuration name you just setup
  • Debug will start and stop at break points Alt Text

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more