Skip to content

clusterctl does not support v1beta1 from 1.11.0 even when deprecation is still runing #13619

@antaloala

Description

@antaloala

What steps did you take and what happened?

I have been testing several clusterctl releases against a define CAPI Cluster using v1beta1, getting the following printouts (note I have renamed the downloaded clusterctl binaries shown here below with its related version):

$ ./clusterctl-1.13.0 describe cluster multinode-cluster -n default
Error: this version of clusterctl could be used only with "v1beta2" management clusters, "v1beta1" detected

$ ./clusterctl-1.11.0 describe cluster multinode-cluster -n default
Error: this version of clusterctl could be used only with "v1beta2" management clusters, "v1beta1" detected

$ ./clusterctl-1.10.10 describe cluster multinode-cluster -n default
NAME                                                       READY  SEVERITY  REASON     SINCE  MESSAGE
Cluster/multinode-cluster                                  False  Warning   ScalingUp  13m    Scaling up control plane to 3 replicas (actual 1)
├─ClusterInfrastructure - Metal3Cluster/multinode-cluster  True                        13m
└─ControlPlane - RKE2ControlPlane/multinode-cluster        False  Warning   ScalingUp  13m    Scaling up control plane to 3 replicas (actual 1)
  └─Machine/multinode-cluster-nbw6g                        True                        13m

What did you expect to happen?

As the v1beta1 deprecation is still running (it is to be removed in April 2027) I understand newer clusterctl releases >= 1.11.0 should keep supporting it, removing that support once the ongoing deprecation finishes (i.e., once v1beta1 support being finally removed).

Cluster API version

I have tested several clusterctl versions (as shown above):

  • the current latest one 1.13.0
  • the first one from which v1beta1 is not supported anymore: 1.11.0
  • the latest one still supporting v1beta1: 1.10.10

Kubernetes version

$ kubectl version

Client Version: v1.35.4
Kustomize Version: v5.7.1
Server Version: v1.34.4

Anything else you would like to add?

No response

Label(s) to be applied

/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions