-
Notifications
You must be signed in to change notification settings - Fork 221
feat(k8s): replace API server watch with kubelet /pods polling #2369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 20168689157 -n profile-artifacts-2369 |
|
@vimalk78 Can we address the CI failures? |
89dd479 to
1164cdd
Compare
|
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2369 +/- ##
==========================================
+ Coverage 91.28% 91.42% +0.13%
==========================================
Files 52 53 +1
Lines 4845 5001 +156
==========================================
+ Hits 4423 4572 +149
- Misses 308 312 +4
- Partials 114 117 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21431635223 -n profile-artifacts-2369 |
1164cdd to
5080b9d
Compare
|
|
5080b9d to
ad3ae9f
Compare
|
|
ad3ae9f to
3a89d0c
Compare
|
|
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21433597013 -n profile-artifacts-2369 |
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21433615014 -n profile-artifacts-2369 |
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21433641835 -n profile-artifacts-2369 |
3a89d0c to
8098052
Compare
|
|
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21434697863 -n profile-artifacts-2369 |
|
@vimalk78 Can we also address config changes: #2369 (comment) |
8098052 to
b6fd339
Compare
|
|
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21436460791 -n profile-artifacts-2369 |
b6fd339 to
2205821
Compare
|
|
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21473517200 -n profile-artifacts-2369 |
2205821 to
972366d
Compare
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21481442170 -n profile-artifacts-2369 |
Add kubeletPodInformer as an alternative to the API server watch-based
informer. It polls the local kubelet /pods endpoint, reducing API server
load. The kubelet host and port are auto-discovered from the Node object
at startup.
Key changes:
- Add kubelet pod informer with singleflight-coalesced refresh,
projected SA token rotation, and context-aware HTTP requests
- Auto-discover kubelet endpoint from Node.Status.DaemonEndpoints
and Node.Status.Addresses (InternalIP)
- Add configurable podInformer mode ("kubelet" or "apiserver") with
validation
- Grant nodes/proxy RBAC permission for kubelet webhook authorization
- Update all config files, manifests, Helm chart, and documentation
972366d to
1620ad6
Compare
|
📊 Profiling reports are ready to be viewed
💻 CPU Comparison with base Kepler💾 Memory Comparison with base Kepler (Inuse)💾 Memory Comparison with base Kepler (Alloc)⬇️ Download the Profiling artifacts from the Actions Summary page 📦 Artifact name: 🔧 Or use GitHub CLI to download artifacts: gh run download 21481916987 -n profile-artifacts-2369 |
Reduces API server load on large clusters by polling local kubelet
/podsendpoint instead of maintaining persistent watch connections.