The Kubernetes release team has outlined planned deprecations and removals for the upcoming Kubernetes v1.38 release, cautioning that the list may change before the release date. Among them, kubectl will drop the KUBECTL_REMOTE_COMMAND_WEBSOCKETS and KUBECTL_PORT_FORWARD_WEBSOCKETS environment variables, which let users opt out of WebSockets. kubectl has defaulted to WebSockets over SPDY for exec, attach and cp since v1.30 and for port-forward since v1.31, and will keep trying WebSockets first with SPDY fallback. Scripts and CI environments that set these variables will need updating.