![Jim Gauld](/assets/img/avatar_default.png)
Kubernetes upgrade control-plane step was failing due to kubeadm not accepting the format of the empty kubelet_override.yaml file. This file minimally requires the apiVersion to be specified even if there are no actual overrides. This adds apiVersion to the kubelet_override.yaml file. Test Plan: PASS: Kubernetes 1.23.1 to 1.24.4 upgrade PASS: Manually call kubeadm upgrade apply v1.24.4 same as: system kube-host-upgrade controller-0 control-plane Story: 2010301 Task: 46699 Signed-off-by: Jim Gauld <james.gauld@windriver.com> Change-Id: Icc4f0214d492ace731ff9fdc952cca04ce515e3a
5 lines
93 B
YAML
5 lines
93 B
YAML
---
|
|
kind: KubeletConfiguration
|
|
apiVersion: kubelet.config.k8s.io/v1beta1
|
|
# no customizations
|