Skip to content

order of kubectl upgrade is out of line with the version skew policy #57157

Description

@cbf123

This is a Bug Report

Problem:

Upgrading Linux nodes | Kubernetes says to upgrade kubectl after upgrading the control-plane (alongside kubelet).

However, if you take advantage of the version skew policy and upgrade the control-plane by 2 or 3 versions without upgrading the worker nodes, this results in kubectl being outside of the +/- 1 version from kube-apiserver allowed by the version skew policy.

Proposed Solution:

kubectl should be upgraded alongside kubeadm, which will keep it within +/- 1 version of kube-apiserver.

Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/upgrading-linux-nodes/

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions