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 • • 26m ago

Periodic Weekly: Show off your new tools and projects thread

3 Upvotes

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


r/kubernetes • • 14h ago Mindblown

Advent of k8s

38 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 • • 20h ago

I feel like my entire job is to just patch now

49 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 • • 14h ago

Build a Production LLM Serving Stack on Kubernetes

Thumbnail
deepengineering.net
15 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 • • 20h ago

Better Helm Updates Validation

Post image
14 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 • • 18h ago

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

7 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 • • 17h ago

Has anyone used KubeVirt on Talos Linux to run opnsense?

4 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

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 • • 1d ago

Periodic Weekly: Questions and advice

1 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 • • 17h 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 • • 2d ago

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

Thumbnail
play.snowops.net
51 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 • • 1d 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

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

20 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?


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

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

Homelab or just suck up cloud costs?

16 Upvotes

I’ve had more and more need for a personal K8s cluster. I’ve been using some discounts from Civo to run it for free, but those credits are ending soon.

I’m debating about whether I want to keep going with civo or more to gcp/aws. Or should I just buy a few refurbed machines machines for like $1000. Just not sure I want to deal with the headache of running physical hardware in my apartment.

I’m aiming for a cluster that’s ~64gb of ram. I’m less constrained on cpu/storage.


r/kubernetes • • 2d ago

How do you test autoscaling changes (HPA/KEDA) before they hit prod?

18 Upvotes

I dropped VPA and now I rightsize from Prometheus history, committing values to Git. What I haven't cracked is validating changes before they ship.

Example: a "max across pods" recommendation said a cache needed 10Gi per pod. Turned out one pod had a memory leak and got OOMKilled; the rest sit at ~3Gi.

I've been experimenting with replaying past traffic through k8s control plane (HPA + KWOK) in a simulator, but it's early, takes a long time to get results, and non-trivial to implement tbh.

What do you do today? Staging load tests, canaries, ship-and-watch? Anyone replaying traffic or using KWOK/SimKube? Any change that looked fine and bit you later? What do you wish was more readily available to you, or the community at large for this type of validation?


r/kubernetes • • 1d ago

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

Thumbnail
medium.com
0 Upvotes

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

"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 • • 3d ago

how do you figure out who owns all the random stuff in a shared cluster, and what's the oldest orphan you've found

4 Upvotes

in a shared cluster it's really easy to end up with namespaces, deployments and pvcs that nobody remembers creating. owner labels are supposed to fix it but half the time they're missing or point to someone who left.

do you enforce owner labels with an admission policy (kyverno, gatekeeper etc), run some cleanup job, or just leave it until something breaks?

also curious what's the oldest forgotten thing you've found running