Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gmlexx
Copy link
Collaborator

@gmlexx gmlexx commented Nov 11, 2025

  • Fix metrics port binding for collectors access to etcd, kubelet, etc
  • Fix kubelet certificate generation to include IP SAN

Copilot AI review requested due to automatic review settings November 11, 2025 13:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes metrics port binding configuration for kind clusters to enable proper monitoring of control plane components (etcd, kubelet, controller-manager, scheduler, kube-proxy) by Prometheus collectors. It also addresses kubelet certificate generation by implementing automatic CSR approval and configuring TLS bootstrap.

Key changes:

  • Introduced a new kind cluster configuration that binds all control plane component metrics endpoints to 0.0.0.0 instead of localhost
  • Added kubelet-csr-approver Helm chart installation to handle kubelet certificate signing requests
  • Updated development workflow to use the new configuration and include Docker registry authentication setup

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
config/kind-local.yaml New kind cluster configuration that binds metrics endpoints to 0.0.0.0 for all control plane components and enables kubelet TLS bootstrap
config/docker/config.json Template Docker registry authentication configuration to avoid rate limiting
Makefile Added kcm-dev-apply target and updated dev-adopted-deploy to use new kind config and install kubelet-csr-approver
docs/dev.md Updated development setup instructions to include kubelet-csr-approver installation
.github/workflows/pr_test_kof_installation.yaml Added wait condition for kcm-controller-manager deployment availability
.github/workflows/pr_test_adopted_upgrade.yml Added wait condition for kcm-controller-manager deployment availability

@gmlexx gmlexx force-pushed the kubeletstats-kind branch 8 times, most recently from 4121182 to 9afe86f Compare November 12, 2025 14:34
@gmlexx gmlexx force-pushed the kubeletstats-kind branch 2 times, most recently from 556f705 to 4718231 Compare November 12, 2025 16:02
@gmlexx gmlexx merged commit 284103f into k0rdent:main Nov 12, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this to Done in k0rdent Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants