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

Upgrade Fabric8 Kubernetes Model to Kubernetes v1.29 #5643

Closed
4 tasks done
rohanKanojia opened this issue Dec 14, 2023 · 1 comment
Closed
4 tasks done

Upgrade Fabric8 Kubernetes Model to Kubernetes v1.29 #5643

rohanKanojia opened this issue Dec 14, 2023 · 1 comment
Assignees
Labels
component/kubernetes-client Deals with the kubernetes-client component/kubernetes-model Deals with the kubernetes-model dependencies Pull requests that update a dependency file
Milestone

Comments

@rohanKanojia
Copy link
Member

rohanKanojia commented Dec 14, 2023

Is your task related to a problem? Please describe

Kubernetes 1.29 was released on 2023-12-13. Our model should be updated, including any new types and DSL access for new resources.

Describe the solution you'd like

Our model should be updated, including any new types and DSL access for new resources.

Sub Tasks

  • Investigate model type changes introduced in Kubernetes 1.29
  • Update kubernetes-model-generator with model type changes
  • Update KubernetesClient DSL with new DSLs for new model types
  • Create an issue for the next Kubernetes Release
@rohanKanojia rohanKanojia added component/kubernetes-model Deals with the kubernetes-model dependencies Pull requests that update a dependency file component/kubernetes-client Deals with the kubernetes-client labels Dec 14, 2023
@rohanKanojia rohanKanojia self-assigned this Dec 26, 2023
@rohanKanojia
Copy link
Member Author

Comparing Kubernetes 1.29 with previous version, I see the following changes:

Newly Added Resources to Kubernetes 1.29.0 Source

Kind ApiVersion Scope
ServiceCIDR networking.k8s.io/v1alpha1 Cluster
VolumeAttributesClass storage.k8s.io/v1alpha1 Cluster
FlowSchema flowcontrol.apiserver.k8s.io/v1 Cluster
PriorityLevelConfiguration flowcontrol.apiserver.k8s.io/v1 Cluster

Resources Removed From Kubernetes 1.29.0 Source

Kind ApiVersion
FlowSchema flowcontrol.apiserver.k8s.io/v1alpha1
PriorityLevelConfiguration flowcontrol.apiserver.k8s.io/v1alpha1
ClusterCIDR networking.k8s.io/v1alpha1
PodSecurityPolicy policy/v1beta1

Other Changes:

  • Field UID removed from Kubernetes Model Networking’s ParentReference
  • PodSecurityPolicy deleted from Kubernetes sources (Its controller was deprecated in Kubernetes v1.21, see this blogpost)
  • New boolean field optionalOldSelf added to Kubernetes Model ApiExtensions’s ValidationRule
  • New field SleepAction sleep added to Kubernetes Model Core’s LifecycleHandler
  • New field String ipMode added to Kubernetes Model Core’s LoadBalancerIngress
  • New field String volumeAttributesClassName added to Kubernetes Model Core’s PersistentVolumeClaimSpec
  • PersistentVolumeClaimSpec .resources type changes to VolumeResourceRequirements from ResourceRequirements
  • New field String currentVolumeAttributesClassName added to PersistentVolumeClaimStatus
  • New field ModifyVolumeStatus modifyVolumeStatus added to PersistentVolumeClaimStatus
  • New field String volumeAttributesClassName added to PersistentVolumeSpec
  • New fields List<String> matchLabelKeys, mismatchLabelKeys added to PodAffinityTerm
  • New field ClusterTrustBundleProjection clusterTrustBundle added to VolumeProjection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes-client Deals with the kubernetes-client component/kubernetes-model Deals with the kubernetes-model dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants