r/kubernetes • • 18h ago

Periodic Weekly: Show off your new tools and projects thread

5 Upvotes

Share any new Kubernetes tools, UIs, or related projects!


r/kubernetes • • 1d ago

Periodic Monthly: Who is hiring?

7 Upvotes

This monthly post can be used to share Kubernetes-related job openings within your company. Please include:

  • Name of the company
  • Location requirements (or lack thereof)
  • At least one of: a link to a job posting/application page or contact details

If you are interested in a job, please contact the poster directly.

Common reasons for comment removal:

  • Not meeting the above requirements
  • Recruiter post / recruiter listings
  • Negative, inflammatory, or abrasive tone

r/kubernetes • • 12h ago

Warpgate 0.31 - audited kubectl access through a bastion + GitOps config and impersonation

11 Upvotes

Warpgate is a mature FOSS bastion/PAM for Kubernetes API and other protocols that works with kubectl and without a cluster-side agent. It's an alternative to Teleport/StrongDM/Boundary: https://warpgate.null.page/

I'm proud to present Warpgate 0.31 - which adds 2 big features for Kubernetes targets:

* GitOps: clusters/roles/assignments can now be managed through YAML resource files stored either in a Git repo, locally, or pushed to the API from CI/CD.

* Impersonation: per-cluster option that makes Warpgate set the Impersonate-User header to match the user identity so that RBAC acts on the real user's account instead of the service account, and Kubernetes logs show the real username for auditing

I've put effort into making it easy to set up and run both in a homelab and in an enterprise setting - it's a single Rust binary (or container) that just works out of the box

Apache-2.0, no licensing, no paid features or limits.


r/kubernetes • • 15h ago

10 Enhancements Graduating to Stable in Kubernetes 1.38

54 Upvotes

According to the official tracker, only 10 KEPs are set to graduate to Stable in the 1.38 release later this month. This is the entire list:

Partitioned Devices for DRA (KEP-4815, sig-scheduling)
Vendors can now advertise overlapping partitions, and the scheduler makes sure conflicting ones are never allocated together. Devices like NVIDIA MIG GPUs no longer need to be pre-partitioned, because the driver creates the partition after allocation. The ResourceClaim API doesn't change.

DeviceBindingConditions for DRA (KEP-5007, sig-scheduling)
The scheduler can hold off binding a Pod until external resources are confirmed ready. This helps with fabric-attached GPUs, remote accelerators and FPGAs in composable disaggregated infrastructure. If preparation fails, the allocation is cleared and the Pod gets rescheduled.

SPDY finally fully transitioned over to WebSockets (KEP-4006, sig-api-machinery)
kubectl's exec, attach, cp and port-forward commands now finally stream over WebSockets instead of SPDY, which has been for nearly 12 years. These commands should finally work through L7 proxies and gateways like Envoy without workarounds.

Pod-level Resource Specifications (KEP-2837, sig-node)
You can set CPU, memory and hugepages requests and limits for the whole Pod, so containers share one resource pool. This works alongside container-level settings rather than replacing them.

Pod-level In-Place Vertical Scaling (KEP-5419, sig-node)
You can resize pod-level CPU and memory on a running Pod without recreating it. Only containers whose effective limits change get restarted. Requires cgroupv2.

IP/CIDR Validation Improvements (KEP-4858, sig-network)
Validation is stricter. It now rejects IPv4 addresses with leading zeros (the cause of CVE-2021-29923), IPv4-mapped IPv6 addresses and zone identifiers. Invalid values already stored are kept, so existing clusters won't break.

kuberc: kubectl preferences now separate from kubeconfig (KEP-3104, sig-cli)
A new ~/.kube/kuberc file holds aliases, default flags and credential plugin allowlists. It applies whichever kubeconfig is active. There's also a new kubectl kuberc command for editing it.

Streaming lists for informers (KEP-3157, sig-api-machinery)
Informers now stream their initial list over a WATCH instead of paged LISTs. This keeps API server memory at about 2 MB per watcher, prevents LIST storms in large clusters and fixes stale cache reads.

Future Conformance Tests (KEP-5922, sig-architecture)
A new [FutureConformance] label announces upcoming conformance tests ahead of time. This gives CNI plugins, cloud providers and distros time to catch up before the tests become required.

kubernetes-mixin moves to kubernetes-sigs (KEP-5905, sig-instrumentation)
The repo now lives under kubernetes-sigs. Its git history is preserved and old links redirect.


r/kubernetes • • 1d ago Mindblown

Advent of k8s

57 Upvotes

Hi, I made a website for people learning Kubernetes with 24 daily challenges to solve in an online environment.

I initially built a platform for myself while learning k8s, but I thought about joining advent of code just with kubernetes so i put some scenarios and maybe other people might find it useful too, so I decided to open it up.

It's free, runs directly in the browser using kubernetes compiled to web assembl, has built-in links to the official Kubernetes documentation, and is structured a bit like "A Tour of Go". It's aimed at beginners and intermediate learners. Experienced DevOps engineers will probably be bored.

There are also other scenarios (also free) to study kubernetes further.

https://nakamaops.com/

(I'm posting this here because I haven't seen a weekly tool thread in about a month. It's not a commercial product, just a learning aid, and I'm happy to move it if a new weekly thread goes up)


r/kubernetes • • 1d ago

Build a Production LLM Serving Stack on Kubernetes

Thumbnail
deepengineering.net
20 Upvotes

We've just published Chapter 9 of Fuheng Wu's Distributed AI Systems as a free deep dive on Deep Engineering. It walks through building a production LLM serving stack on Kubernetes, from a local GPU cluster with k3d to multi-model and multi-engine routing with vLLM and SGLang, and on to llm-d's prefix-cache-aware serving. All the code is runnable, and there are exercises at the end.


r/kubernetes • • 1d ago

Has anyone used KubeVirt on Talos Linux to run opnsense?

5 Upvotes

Hi I was wondering if anyone here has used KubeVirt to run opnsense? I currently run a three node Talos Linux control plane setup, each node is a Lenovo thinkcentre m920q i5 with 32gb ram running dual 10gbe sfp nic. I have a fourth node, it’s m920q i7 with 32gb ram with a quad 10gbe sfp nic, I was going to run proxmox on this one to host opnsense, technitium and some monitoring services. But I recently learnt about KubeVirt and want to experiment running that to consolidate. Has anyone here done this, any pointers?


r/kubernetes • • 1d ago

Your cert rotated successfully and TLS still broke: the stale in-memory certificate failure

0 Upvotes
 failure mode worth checking for if you rotate short-lived certs:


1. Vault PKI signs a new cert, cert-manager updates the Secret
2. The kubelet updates the mounted files (typically within a minute or two)
3. The app loaded the key pair once at startup and keeps serving the old one
4. The old cert expires and verifying clients fail new handshakes


Why it can go unnoticed:


- Nothing errors at rotation time, only at expiry
- Established connections usually carry on until they have to reconnect
- Kubernetes HTTPS probes don't verify certificates, so the pod can stay Ready
- With a `subPath` mount, the file in the container never updates, so even a reloading app reads the old cert


To check, compare disk (inside the pod, or wherever you can read the mounted file) with what's being served (for example through a port-forward):


    openssl x509 -in /etc/tls/tls.crt -noout -serial -enddate


    openssl s_client -connect localhost:8443 </dev/null 2>/dev/null \
      | openssl x509 -noout -serial -enddate


Different serials mean the process hasn't picked up the new cert.


Fixes: reload on change (`GetCertificate` in Go, `nginx -s reload` triggered by a watcher), or roll the pods before the old cert expires.


I also made a 4-minute walkthrough (my own video, synthetic voiceover): [https://youtu.be/qTaF29CR0Kc]


How are you handling reloads: in the app, a sidecar, or a controller that restarts pods?

r/kubernetes • • 1d ago

vLLM routing on Kubernetes: plain Service vs Dynamo vs Kinference vs Kthena vs llm-d vs production-stack

Post image
1 Upvotes

Howdy folks. We benchmarked Dynamo, Kinference, Kthena, llm-d and vLLM production-stack against a plain Kubernetes Service to see when cache-aware routing helps and how each stack behaves under load and during restarts.

Disclosure: I'm the founder and principal engineer at Todea, which ran and published the benchmark. I also contract for Buoyant, makers of Kinference. Buoyant didn't fund or review the benchmark.

The setup was deliberately small: three vLLM replicas of Qwen2.5-7B-Instruct sharing one 96 GB RTX PRO 6000 on GKE. HAMi divided the GPU memory, but the replicas still competed for the same GPU compute.

A few findings:

  • Repeated system prompts: Every tuned router reduced median TTFT from the Service's 834 ms to 115–132 ms. These are averages of per-run medians across five runs, measured at the client and excluding each prefix's first visit.
  • Unique prompts: No router beat the Service's median of about 1.15 s. Dynamo, Kinference, Kthena and llm-d improved p95, but their medians were higher. On the shared GPU, keeping every replica busy also made individual prefills slower.
  • Cache pressure: Configurations using engine KV events had lower p95 latency than those relying on routing history. Some kept sending prefixes to replicas that had already evicted them.

We also deleted engine and router pods under load to check what happened to in-flight responses and how routing state recovered.

Caveat: These results apply to the versions and configurations tested. We didn't test Kthena's kvcache-aware plugin or production-stack's kvaware logic.

Full write-up

Code and configurations to rerun it

Questions and methodology nitpicks welcome.


r/kubernetes • • 1d ago

Alternative conferences for the half of our team skipping KubeCon Barcelona?

8 Upvotes

Half of the team can't go to Kubecon Barcelona because someone needs to take care of the systems. What conferences should the other half of the team consider? Preferably in Europe, but not a hard requirement.


r/kubernetes • • 1d ago

Better Helm Updates Validation

Post image
18 Upvotes

Hi there! I build a single binary to solve my biggest pain - checks before Helm version upgrades in my cluster. It scans current vs desired Helm chart version and gives an output about silently dropped values, selectors that cannot change, new required values, deprecated APIs, CRD issues, etc. and many more optional via additional flags like helm 3 vs 4. I designed it on a way that it never communicates directly with your Kuberentes cluster - you can export facts and use them, but otherwise you can just parse the helm chart, specify versions and provide your specific values.yaml that you use (you can even skip that if you want) and it will do the comparison.

For the most common helm chart you can even do it online - https://stageproof.github.io/index/values/

Nothing is collected, no info is send back to central server, it can even run offline if you already have the chart locally.

It can be used as part of the pipeline, blocking MRs if stageproof check fails (stageproof check-pr), integrated with rennovate.

How it works - it renders the current vs updated values and it scans them in real, temporal api-server, there is even option to do --live check (false by default), which brings temporary kind cluster to do close to real case scenario tests - install current chart, upgrade to new one, smoke test, then rollback to current version to verify if that passes as well, --live uses prebuild container image with kind, kubectl, and helm inside.

I am already using it in production. There is nightly build that checks top 300 most starred helm charts for new versions, this is how the index is build with 22485 reports already, but the project is new and there may still be bugs, will be glad if you open an issue when you spot some.

It's free and open source with no registration required, no AI scans, no data collection. Single binary that you can just download and run everywhere.

Github Repo - https://github.com/stageproof/stageproof

Index page - https://stageproof.github.io/stageproof/index.html

Docs - https://stageproof.github.io/stageproof/docs.html


r/kubernetes • • 1d ago

I feel like my entire job is to just patch now

56 Upvotes

environment that inherited:

3 aws accounts

account a

mgmt eks cluster

mgmt ops eks cluster

prd eks cluster

stage eks cluster

dev eks cluster

devdevops eks cluster (this is the testing environment for mgmt ops that has argocd)

account b

prd eks cluster

stage eks cluster

account c

prd eks cluster

3 different apps, thus 3 different acccounts. each eks cluster contains multiple ops packages (velero, datadog, metrics-server, efs/ebs csi driver, etc). renovate bot is deployed and i feel like i'm constantly patching. after ops packages i'll have to upgrade the clusters, after clusters, i'm sure i'm back to upgrading ops packages. anyone else in this situation? how do you handle it? did you consolidate?


r/kubernetes • • 1d ago

Periodic Weekly: Questions and advice

2 Upvotes

Have any questions about Kubernetes, related tooling, or how to adopt or use Kubernetes? Ask away!


r/kubernetes • • 1d ago

Kubecost keeps charging our namespaces to a team that doesn't exit anymore

1 Upvotes

Every namespace on our shared EKS clusters has a team label and Kyverno rejects anything without one, which is great right up untill a reorg. We've had two.

$ kubectl get ns -L team | grep checkout-core
payments-batch     Active   3y    checkout-core
payments-recon     Active   3y    checkout-core
ledger-export      Active   2y    checkout-core

Checkout-core got split up a while ago and the people went to three different teams. Kubecost still rolls all of that up under checkkout-core in the cost allocation report and finance keeps asking me who checkout-core is. I'd like to know too, the Slack channel on the label is archived.

For payments-batch I found the new person with git log on th Helm chart. The last commits were from a backend engineer who's on the fraud team now and had no idea the namespace was on a cost report. I was hoping the Helm release secrets would at least show who ran the last upgrade but I haven't found that that there.

Is there anything in the cluster that record a real owner? git log per chart works but I'm not doing it for 143 namespaces


r/kubernetes • • 2d ago

Patching Multiple Clusters

3 Upvotes

Over the last few years our GKE footprint has grown from about 6 clusters to more than double that. I understand this is probably still a small footprint in the grand scheme of things, but can seem large when you have a small infra team and not everyone has years of K8s experience.

Going into each cluster and patching stuff like ESO, cilium, externalDNS, etc, wasn’t too much of a pain but now it feels like it takes up a lot of time. We aren’t mature Kubernetes wise and we have only started using FluxCD in a couple of clusters and in nonprod environments. I believe that has configuration to help bump minor patches.

Just wondering how other people have tackled this when reaching these crossroads and what tools they use.


r/kubernetes • • 2d ago

Net New to Alpha enhancement in Kubernetes 1.38

50 Upvotes

The Kubernetes v1.38 release is planned for December 16th. There are currently 28 enhancements marked as “Net New”. Those are the newly-introduced to the project in the 1.38 release. Of these 28 new enhancements, 11 are specifically introduced for sig-node Special Interest Group (SIG). 3 enhancements are under sig-scheduling (all of which are DRA-related), and only 2 are specifically dealing with sig-apps. This piece will deal specifically with the newly-introduced Alpha enhancements to Kubernetes Nodes in the v.1.38 release.

Add Topology Manager option to improve workload density for single-numa-node
Kubernetes v1.38 introduces NUMA utilisation-aware options for the Topology Manager, allowing it to consider how heavily NUMA nodes are already allocated when placing workloads. Cluster admins can choose to prefer the most-allocated or least-allocated NUMA nodes, helping improve workload density and resource utilisation on multi-NUMA systems. This gives Kubernetes more control over how workloads are distributed across CPU and memory resources, which should potentially reduce signs of fragmentation, making better use of available hardware.

Enable writable cgroups for unprivileged containers
The 1.38 release also introduces support for writable cgroups, allowing unprivileged containers to create and manage their own child cgroups on Linux systems using cgroup v2. This means workloads such as Docker-in-Docker, AI/ML frameworks like Ray, and KubeVirt can manage resource limits for their own processes without requiring privileged containers. This change enables more flexible, fine-grained resource management while simultaneously maintaining your cluster security through kernel-level isolation and Kubernetes-enforced limits on cgroup creation.

Allow specifying whether to unshare cgroup namespaces
Kubernetes is finally offering a way to explicitly control whether a Pod uses its own cgroup namespace or the host’s. This allows privileged Pods to unshare cgroup namespaces instead of automatically sharing the host namespace, while keeping the existing defaults unchanged. This matters for workloads such as BuildKit, where nested containers need to remain within the correct cgroup hierarchy for accurate resource accounting and CPU and memory enforcement, helping prevent issues such as unexpected OOM errors and CPU contention on the node.

OCI artifact-based security profile distribution
We’re also seeing the introduction of native support for distributing container security profiles through OCI-compatible registries like Amazon ECR or Cloudsmith, allowing teams to pull seccomp profiles (alpha) and AppArmor profiles (beta) directly from registries rather than manually installing them on every node. Profiles are versioned and referenced by immutable digests, making updates easier and decoupling security profile releases from node image updates. This matters because it simplifies security profile management across clusters while enabling stronger, workload-specific isolation, with safeguards that ensure custom profiles cannot weaken the cluster's existing security restrictions.

Support hugepages in kubelet's --system-reserved and --kube-reserved flags
This release allows hugepages to be specified in kubelet's --system-reserved and --kube-reserved flags, so that hugepages used by system services and Kubernetes components are deducted from the node's reported Allocatable capacity. I’m happy to see this because workloads should no longer be scheduled based on hugepages that have already been consumed by your system processes. This would help prevent resource allocation failures especially at runtime. It’s also particularly useful for environments such as OVS-DPDK deployments, where system services reserve hugepages for their own operation.

Support in-place pod update resources alongside static CPU Manager policy
v1.38 enhances the existing in-place resource resizing to support CPU changes for Guaranteed QoS Pods running with the CPU Manager's static policy, without requiring container restarts. This was designed to allow performance-sensitive workloads, such as DPDK-based networking applications, to increase or decrease their CPU allocations while preserving their originally assigned CPUs and NUMA alignment. It goes without saying that this enhancement enables the critical, latency-sensitive apps to better adapt to changing resource demands without necessarily disrupting running workloads or compromising CPU and hardware topology guarantees.

Dynamic Pod Mutation
Dynamic Containers are essentially a building block that will allow main containers to be added to or removed from a running Pod without recreating it. This should separate Pod scheduling and initialisation from workload execution, effectively allowing frameworks such as Ray and Slurm to manage worker containers within the resources allocated to a Pod. This is a nice addition to Kubernetes because it enables pre-warmed Pods to start workloads more quickly and supports high-churn, low-latency operations, including interactive AI and agent workloads, working towards sub-100ms startup.

Per-Pod PID Limit
We’re seeing support for setting PID limits at the Pod level through spec.resources.limits.pids. This field essentially allows Platform Engineers to define how many processes each Pod can create. The effective limit is the lower of the Pod's configured limit and the node-level kubelet limit, ensuring node-wide safeguards remain in place. This matters because it provides more granular control over process consumption, allowing workloads with different PID requirements, such as AI agent runtimes, service mesh sidecars and infrastructure Pods, to coexist without relying on separate node configurations.

Workload Controlled Swap
The 1.38 offers users a new WorkloadControlledSwap mode, allowing users to explicitly configure how much swap each container can use through resources.limits.swap. This means individual containers can have swap disabled entirely or be given a specific swap allowance, including workloads using Guaranteed QoS and CPU pinning that were previously restricted. This matters because it gives owners of each app greater control over memory usage, helping to prevent unnecessary OOM kills, enabling safer swap overcommitment as well as removing existing swap-related restrictions on features such as in-place Pod resizing.

EvictionRequest API
Finally, this release is also giving us a new declarative EvictionRequest and Eviction API. This should enable workloads and controllers to coordinate Pod termination more safely and cooperatively. Rather than immediately evicting a Pod, the new approach gives the application an opportunity to prepare for relocation, while allowing eviction as a fallback if it does not cooperate. I’m probably most excited about this enhancement because it should reduce any unnecessary downtime and potential data loss, as well as improving the node draining and autoscaling, and provide better coordination and visibility around those Pod disruptions. This even addresses some limitations of the existing Eviction API & PodDisruptionBudgets.

I know people have in the past disliked blogs being shared around Kubernetes version releases, and have instead preferred longer-form updates inside the Reddit thread. So I hope this was somewhat helpful.


r/kubernetes • • 2d ago

Mastering Kubernetes kubectl: The Complete Command Reference for DevOps, SRE and Platform Engineers

Thumbnail
medium.com
0 Upvotes

r/kubernetes • • 2d ago

What's the most painful Kubernetes issue you've had to debug?

Thumbnail
play.snowops.net
52 Upvotes

While learning kubernetes, everything looks straightforward. Pods, deployment, services. Reality hits when something breaks in a real cluster. 😅

I've been experimenting with turning these kinds of real-world problems into hands-on troubleshooting scenarios for a side project I'm building, SnowOps Night Shift.

Curious to know: What's one Kubernetes issue that taught you the most, or that you wish you'd practiced before encountering it in production?

Would love to hear some war stories!

Note - I am sharing the link of the game for reference, but I am genuinely curious to know what kind of real world issues engineers faced apart from the generic CrashLoopbackoff, OOMKilled, etc.


r/kubernetes • • 2d ago

Need suggestions for building a CSAR Resource Allocation Calculator

3 Upvotes

Hi everyone!

I'm working to build a calculator for CSAR resource allocation that handles things like:

- Replica count calculations

- CPU and memory allocation

- Percentage-based resource distribution

- Scaling calculations

I'm looking for suggestions on existing tools, useful formulas, libraries, or approaches to make this calculator effective.

If anyone has worked on something similar, I'd appreciate your guidance and recommendations.

Thanks!


r/kubernetes • • 2d ago

"AI enablement" teams are platform teams that haven't changed their job titles yet. Is your agentic platform separate from your IDP?

Thumbnail
leaddev.com
0 Upvotes

No one cares about DevEx anymore.


r/kubernetes • • 2d ago

Looking for platform and Kubernetes engineers to read my book on running production AI systems before it ships

0 Upvotes

I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.

It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.

What's inside:

  • Reliability, latency and cost as one architecture problem
  • Long-running agents with durable state, observable decisions and clear human authority
  • How retrieval, memory, context and fine-tuning fit together
  • Evaluation, security, tools and multi-agent coordination
  • Failure analysis and reference blueprints that connect the parts

It's written for senior engineers, architects and technical leaders who build and operate these systems.

The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.

If that's your work and you'd like to read it, comment "beta" and I'll send you the details.


r/kubernetes • • 2d ago

Linux cgroup v2: memory limits, OOM, and how systemd actually does it (last part)

Thumbnail
youtu.be
10 Upvotes

r/kubernetes • • 2d ago

how do you track down random dns timeouts inside a cluster, and was it ever actually coredns

21 Upvotes

every now and then pods get dns lookups that hang for 5 seconds or just fail, then it goes away before anyone can look properly. people blame coredns but it could be conntrack, ndots, node local dns or something else. how do you actually debug this when it only shows up sometimes? and when you found the cause, what was it in the end?