← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Kubernetes v1.38 to Remove kubectl Environment Variables, Deprecate kuberc 'name' Field, and Phase Out cgroup v1

🔄 Updated 2d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • kubectl will always use WebSockets first, falling back to SPDY; related env vars removed.
  • kuberc `name` field for credential plugins will be removed in v1.38; use `command`.
  • cgroup v1 support is being phased out; migration to cgroup v2 is recommended.
  • ExcludeAdmissionWebhookVirtualResources feature gate is enabled by default.

kubectl WebSocket and SPDY Changes

Kubernetes v1.38 will remove the KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS environment variables. Since v1.30, kubectl has defaulted to WebSockets for `exec`, `attach`, and `cp`, and since v1.31 for `port-forward`. The new behavior will always attempt WebSockets first and fall back to SPDY if needed, making the environment variables redundant. Users should remove these variables from scripts and CI environments.

kuberc API Update and 'name' Field Removal

The `kuberc` file, which manages kubectl user preferences, is expected to graduate to stable in v1.38 with the kubectl.config.k8s.io/v1 API. This new API will no longer include the `name` field for credential plugin allowlist entries, which has been deprecated since v1.36. Users currently using `name` as an alias for `command` in their allowlist entries must update them to use `command` instead.

Phasing Out cgroup v1 Support

Support for cgroup v1 is being phased out in Kubernetes. Since v1.35, the kubelet fails to start on cgroup v1 nodes unless `failCgroupV1: false` is set. While this option remains in v1.38, it is a temporary measure. Users are advised to plan and execute their migration to cgroup v2, as cgroup v1 support is slated for complete removal in a future release.

Admission Webhook Virtual Resources

The ExcludeAdmissionWebhookVirtualResources feature gate has been enabled by default since v1.37. With this feature active, validating and mutating admission webhooks will no longer receive virtual resources.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 26

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Kubernetes v1.38 will remove KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS environment variables, making WebSockets the default for kubectl commands with SPDY fallback. The `name` field in kuberc allowlist entries will be removed in the kubectl.config.k8s.io/v1 API, requiring migration to `command`. Additionally, cgroup v1 support is being phased out, with users advised to migrate to cgroup v2.