r/kubernetes • • 9h 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 • • 12h ago

10 Enhancements Graduating to Stable in Kubernetes 1.38

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

Periodic Weekly: Show off your new tools and projects thread

5 Upvotes

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