Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 2.47 KB

File metadata and controls

53 lines (33 loc) · 2.47 KB

Contributing Guidelines

Welcome to Kubernetes. We are excited about the prospect of you joining our community! The Kubernetes community abides by the CNCF code of conduct. Here is an excerpt:

As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

Getting Started

We have full documentation on how to get started contributing here:

Debugging the Controller in a Cluster

You can debug the controller running inside a Kubernetes cluster using Delve.

Build and Deploy

make docker-build-debug IMG=<your-registry/your-image:tag>
make docker-push IMG=<your-registry/your-image:tag>
make deploy-debug IMG=<your-registry/your-image:tag>

Connect Your Debugger

Forward the Delve port to your local machine:

kubectl port-forward -n mcp-lifecycle-operator-system deploy/mcp-lifecycle-operator-controller-manager 40000:40000

Then connect your IDE's remote debugger to localhost:40000.

Path mapping: Configure your IDE to map your local source root to /workspace inside the container.

  • GoLand: Run > Edit Configurations > Go Remote > Path mappings: local project root → /workspace
  • VS Code: In launch.json, set "substitutePath" with "from" as your local project root and "to" as "/workspace"

Mentorship

  • Mentoring Initiatives - We have a diverse set of mentorship programs available that are always looking for volunteers!

Contact Information