Skip to content

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

Kubernetes Blog 8 min read Release mediumAdept

Kubernetes v1.37: Hardening Container Storage with Bind Mount Options and EmptyDir Permissions

Kubernetes v1.37 adds two alpha storage-hardening features: per-volumeMount `bindMountOptions` (noexec, nosuid, nodev) applied by the container runtime, and a `mode` field on `emptyDir` volumes that replaces the hardcoded 0777. Together they block a compromised process from downloading and executing binaries on writable volumes even with a read-only root filesystem, and let you set sticky-bit (01777) or least-privilege (0750) permissions without init containers. bindMountOptions works on most volume types except image volumes and requires CRI `mount_options` support, enforced through Node Declared Features and kubelet rejection. emptyDir mode needs no runtime support, is overridden by fsGroup, and both features are Linux-only behind the VolumeBindMountOptions and EmptyDirVolumeMode gates.

Related posts

  • Kubernetes v1.37: KubeletInUserNamespace (aka Rootless mode) Graduates to Beta

    Kubernetes Blog mediumAdept

    Kubernetes v1.37 promotes the KubeletInUserNamespace feature gate to beta, enabling all node components (kubelet, CRI/OCI runtimes, CNI plugins, kube-proxy) to run as a non-root host user inside a Linux user namespace so container-breakout bugs like runc and containerd CVEs are confined to that account. The gate itself mainly makes the kubelet tolerate permission errors on certain sysctls and /dev/kmsg. The user namespace must be created externally, for example via rootless Docker. Beta enables the gate by default with no effect on rootful clusters, exposes a runningInUserNamespace node property for labeling or tainting, and adds rootless conformance CI. Combined with hostUsers: false pods, it allows Kubernetes-in-Kubernetes without privileged containers, usable today via kind, minikube, Usernetes or k3s.

  • Zed Moves Toward Secure-by-Default: Introducing Worktree Trust

    Zed mediumAdept

    Zed now opens new worktrees in Restricted Mode, refusing to parse project `.zed/settings.json`, spawn language servers, or start MCP servers until the user explicitly trusts the worktree. The change follows Mindgard vulnerability reports showing that a malicious project settings file could execute arbitrary shell commands via MCP `context_servers` or LSP `binary` entries simply by opening the project. Trust is persisted per host (local, SSH, WSL), can cover a parent folder, and can be reset with `workspace::ClearTrustedWorktrees`. An opt-out `trust_all_worktrees` setting exists for sandboxed environments, though manually granted trust is the only kind that persists across restarts.

  • 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.

  • Hardened Images Explained: Fewer CVEs, Smaller Attack Surface

    Docker easyNovice

    Most container CVEs come from unused packages in general-purpose base images (often 400+ packages when an app needs 20–30), not application code. Hardened images address this with three properties: aggressive minimization (no shells, package managers or debug tools), continuous patching on defined SLAs, and verifiable supply chain metadata such as SBOMs, SLSA provenance, VEX data and signatures that enable CI policy gates. Container hardening works at the image layer and differs from VM/CIS OS hardening. Slim, Alpine or one-off distroless images alone don't qualify, and the piece closes by promoting Docker Hardened Images, with a free Apache 2.0 Community tier.

  • Modal becomes a gVisor maintainer

    Modal mediumAdept

    Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead. Modal's upstream work includes nvproxy support for new NVIDIA GPUs, NVLink, MPS and GPUDirect RDMA, plus a new rdmaproxy that reaches ~99% of native NCCL all-reduce bandwidth over InfiniBand, RoCE and EFA. Other contributions are huge-page recycling that lifts PyTorch shared-memory throughput from 2.9 to 22 GB/s and tmpfs work that makes SQLite 2.7x faster. Planned work covers multi-GPU memory snapshots, GPUDirect Storage, MIG/vGPU and sub-minute inference server startup.

The quest for software engineering knowledge.

Look:
Layout: