How to Configure streamingConnectionIdleTimeout: "672h" Without Dynamic Kubelet Config

Problem

The customisations configured via Dynamic Kubelet Config previously for streamingConnectionIdleTimeout: "672h" is no longer possible __to use since moving to K8s v1.22 cluster on containerd where Dynamic Kubelet Config is deprecated, the setting is not taken into account as compared to docker previously.

Upstream Issues:

https://github.com/containerd/containerd/issues/5563

https://github.com/containerd/containerd/blob/main/docs/cri/config.md?plain=1#L146

Environment

  • Platform9 Managed Kubernetes - v5.6.8 and Higher

Solution

Set the value stream_idle_timeout = "1m"in /etc/containerd/config.toml file for containerd service on the master node, takes into effect when kubectl client version below v1.20:

Javascript
Copy

Additional Information

A Jira- PMK-6283 has been filed to track this issue and the fix will be available in the version: PMK 5.11 release

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard