Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Umbrella issue: API changes #10852

Open
13 of 68 tasks
sbueringer opened this issue Jul 10, 2024 · 7 comments
Open
13 of 68 tasks

Umbrella issue: API changes #10852

sbueringer opened this issue Jul 10, 2024 · 7 comments
Assignees
Labels
kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@sbueringer
Copy link
Member

sbueringer commented Jul 10, 2024

Goal of this issue is to provide an overview over issues related to API changes.

Important

  • Tracking issue for v1Beta2 #11947
  • Make all replica counter status fields pointers + omitempty (like the new v1beta2 replica counter fields)
  • Audit Machine-level fields across CC, Cluster.spec.topology, MD, MS, KCP and check if we can make it more consistent
  • Consider to stop embedding Machine struct directly in MD/MS (e.g. fields like providerID don't belong there)
  • Consider removing DefaulterRemoveUnknownOrOmitableFields webhook option
  • Ensure we have SSA markers set everywhere. Possibly via the ssatags linter (see also Implement Linter for Server Side Apply markers #6620). Probably these markers should only be added when we bump an apiVersion
  • Ensure all optional fields that are structs are pointers (TBD If KAL could lint for that) (@sbueringer) (also check usages of APIEndpoint)
    • Most of our *string fields should just be string

ClusterClass & Cluster.spec.topology:

Cluster:

MachineDeployment:

MachineSet

  • Remove --use-deprecated-infra-machine-naming [deprecated] [will be removed in v1.9]

Machine:

KubeadmControlPlane:

  • Remove --use-deprecated-infra-machine-naming [deprecated] [will be removed in v1.9]
  • Remove ClusterConfiguration.KubernetesVersion field

KubeadmConfig / KubeadmConfigTemplate / KubeadmControlPlane / KubeadmControlPlaneTemplate:

MachinePool:

MachineHealthCheck:

ClusterResourceSet:

clusterctl:

Finalizers:

Status fields & conditions:

CRD Columns: (can be already done today)

Smaller improvements: (can be already done today)

Bigger changes:

Backlog: (require some design/proposal)

Explanations:

  • [waiting for v1beta2]: There is absolutely nothing we can do today, we are just waiting for v1beta2
@sbueringer sbueringer added the kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API label Jul 10, 2024
@k8s-ci-robot k8s-ci-robot added needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 10, 2024
@sbueringer
Copy link
Member Author

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 10, 2024
@sbueringer sbueringer added this to the v1.9 milestone Jul 10, 2024
@sbueringer
Copy link
Member Author

sbueringer commented Jul 10, 2024

@fabriziopandini fabriziopandini added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Jul 17, 2024
@k8s-ci-robot k8s-ci-robot removed the needs-priority Indicates an issue lacks a `priority/foo` label and requires one. label Jul 17, 2024
@sbueringer
Copy link
Member Author

sbueringer commented Jul 18, 2024

Added all condition issues I could find to the list above. I think there is a huge overlap with #10897 (i.e. most of these issues would be solved if the proposal is implemented). We should check if there are gaps/conflicts

@enxebre
Copy link
Member

enxebre commented Jul 18, 2024

I think these two can be added to conditions
#10056
#5635

@sbueringer
Copy link
Member Author

Thx! added

@enxebre
Copy link
Member

enxebre commented Jul 18, 2024

this doesn't have an issue associated but I think is valid feedback as well for conditions #10360

@vincepri
Copy link
Member

Let's consider having a next branch created specifically for v1beta2 type changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

6 participants