Skip to content

Audit Kubernetes version specific code #8190

Open
@sbueringer

Description

@sbueringer

Goal of this issue is to audit all code in core Cluster API for Kubernetes version-specific handling and come up with an overview with which Kubernetes (and estimated Cluster API) version we can drop which code.

Tasks:

  • Audit all code

Overview

Code removed with Cluster API v1.11

PRs:

Code:

  • KCP: Remove cgroup driver handling in KCP (-v1.23)
  • KCP: Webhook validation code to block update to (v1.19)
  • KCP: Webhook validation code for registry migration (v1.22-v1.25)
  • test/extension: Remove cgroup driver handling (-v1.23)
  • test/framework: Remove handling for nodeRoleOldControlPlane

Code required for workload clusters

Note: We are going to keep the code 2 Cluster API versions longer as we don't strictly enforce the Kubernetes version support range (https://main.cluster-api.sigs.k8s.io/reference/versions#core-provider-cluster-api-controller)

v1.26

v1.28

v1.29

  • KCP: Remove AllowClusterAdminPermissions

v1.30

  • Remove handling of kubeadm v1beta3 types in CABPK / KCP

TBD

  • Remove handling for ControlPlaneKubeletLocalMode feature gate
  • Remove old versions in CAPD kind mapping

Code required for management clusters

v1.34

/kind cleanup

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions