Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Kubernetes Blog 5 min read Release mediumAdept

Kubernetes v1.37: Introducing Node Lifecycle Conditions

Kubernetes v1.37 reserves five well-known Node conditions: DrainInProgress, Drained, MaintenancePlanned, MaintenanceInProgress and GracefulNodeShutdownInProgress. They give a shared, Kubernetes-owned status signal for drains, maintenance and graceful shutdown. The Alpha NodeLifecycleConditions feature gate is effectively a no-op in this release, and no core controller reads the conditions yet, so administrators or authorized controllers set and clear them to inform people, dashboards and automation. Cordon, drain and taints remain the way to change behavior, and future work aims to let controllers such as DaemonSet use these conditions to avoid stalled rollouts and conflicting decisions.

Assumes: Kubernetes Node conditionskubectl drain and cordontaints and tolerations

Related posts

  • Kubernetes v1.37: Garhwal

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 ships 67 enhancements: 16 Stable, 23 Beta, 27 Alpha and 1 deprecation. Highlights include stable resilient watch cache initialization, where kube-apiserver now returns HTTP 429 instead of overloading etcd, so clients should honor Retry-After and back off. HPA scale-to-zero reaches Beta for object and external metrics, admission policies can be loaded from static manifests, and Pod-level checkpoint/restore arrives in Alpha via new CRI RPCs. Stable graduations include KYAML, metrics.k8s.io v1, SELinux mount-based labeling (which can break Pods with different labels sharing a volume), several DRA features, StorageVersionMigration, and Pod certificates with ClusterTrustBundles.

  • Breaking down OpenAI's outage: How to avoid a hidden DNS dependency in Kubernetes

    Render mediumAdept

    CoreDNS doesn't need the Kubernetes API server to answer queries, but it does need it to initialize. So when CoreDNS runs on control plane nodes (the kubeadm default), a control plane overload or node restart can take DNS down and break running services, as likely happened in OpenAI's outage. Render hit the same failure in 2022 after an etcd memory spike. It fixed the problem by changing tolerations so CoreDNS schedules only onto tainted worker nodes, and by moving etcd to dedicated nodes. The post also explains why telemetry daemonsets overload API servers: per-node list-pods calls bypass the cache and do consistent etcd reads. Setting resourceVersion="0" and monitoring for expensive list requests are the recommended mitigations.

  • Kubernetes v1.37 Sneak Peek

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 deprecates kube-proxy's ipvs mode, which still relies on iptables underneath. ipvs is slated to be off by default by v1.40 and removed by v1.43. The release also deprecates `kubectl run -f`, strictly forbids static Pods from referencing Secrets or ConfigMaps, and keeps cgroup v1 behind a temporary `failCgroupV1: false` override ahead of its removal. SELinuxMount going GA is a breaking change: pods with different SELinux labels sharing a volume on one node may fail to start unless `seLinuxChangePolicy: Recursive` is set. Featured enhancements are the metrics.k8s.io API reaching GA, rootless kubelet in a user namespace moving to Beta, and a reworked alpha Volume Health Monitor with four new CSI RPCs that surface health in PVC, Pod and CSINode status.

  • Detect, act, keep the evidence: node reliability across three clouds

    ClickHouse mediumAdept

    ClickHouse Cloud owns node-failure detection and reaction itself across AWS, GCP and Azure, because many real failures leave Kubernetes nodes Ready while workloads degrade. Examples include failed NVMe RAID members, EXT4 errors, hung kernel tasks and stuck pod creation, and provider auto-repair was inconsistent or counterproductive. The stack uses upstream Node Problem Detector with custom permanent conditions and plugin checks tuned against false positives. A custom open-source Node Problem Mitigator escalates per condition from evaluate to drain to terminate, gated by a kill switch, dry-run, exclusions, a global cooldown and alerting. A Node Debug Collector built on sosreport captures forensics before the node disappears.

  • Kubernetes v1.38 Sneak Peek

    Kubernetes Blog hardMaster

    Kubernetes v1.38, planned for December 16, 2026, will require container runtimes to report the cgroup driver via the CRI RuntimeConfig RPC. The kubelet will reject the cgroupDriver config field unless the temporary LegacyCgroupDriverFallback gate is enabled, and kubeadm preflight will fail on runtimes that lack the RPC. On cgroup v2 nodes using LimitedSwap, swap limits will follow pod-level memory settings, so Pods whose pod-level request equals their limit get no swap. The kubectl WebSocket opt-out environment variables and the kuberc allowlist `name` field are removed. kuberc, pod-level resources and DRA partitionable devices are expected to go stable, and an alpha EvictionRequest API lets responders prepare Pods before eviction while still respecting PDBs.

The quest for software engineering knowledge.

Look:
Layout: