-
Story
-
Resolution: Done
-
Major
-
None
-
None
Description
We want to stop using deprecated command line flags when starting kubelet. The new approach is to specify kubelet arguments through the kubelet configuration file.
Engineering Details
Some args will need to be moved from the kubelet spec as defined in the services configmap to the KubeletConfiguration in nodeconfig.
Current kubelet log:
Flag --logtostderr has been deprecated, will be removed in a future release, see https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
Flag --log-file has been deprecated, will be removed in a future release, see https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
Flag --register-with-taints has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --container-runtime has been deprecated, will be removed in 1.27 as the only valid value is 'remote'
Flag --resolv-conf has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cloud-provider has been deprecated, will be removed in 1.25 or later, in favor of removing cloud provider code from Kubelet.
Flag --enforce-node-allocatable has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Acceptance Criteria
Deprecated command line flags are removed. No warnings in Kubelet log about deprecated flags when the service starts.
QE supporting information
Check kubelet logs in Windows instance /var/log/kubelet/kubelet.log no deprecated flag warning should appear.
- is blocked by
-
WINC-732 Nodes are bootstrapped with WICD bootstrap command
- Closed
- links to
-
RHBA-2023:125706 Red Hat OpenShift for Windows Containers 10.16.0 product release