v1.17 to v1.18
Follow the Regular Upgrading Process.
Upgrading Notable Changes
API Changes
- Introduced
OverflowClusterAffinitiestoPropagationPolicy/ClusterPropagationPolicyAPI to support overflow cluster resource pools for hybrid cloud scheduling. karmada-scheduler-estimator: IntroducedAssumedWorkloadsfield into the gRPC messageMaxAvailableComponentSetsRequest.karmada-scheduler-estimator: IntroducedAssumedWorkloadsfield into the gRPC messageMaxAvailableReplicasRequest.karmada-webhook: Now rejectsPropagationPolicyandClusterPropagationPolicyresources that use theLtorGtoperator inspec.placement.clusterTolerations.scheduler-estimator: Migrated to standardprotoc-gen-gofor gRPC API generation to support Kubernetes 1.35+. Introduced peerbytesfields for K8s types to ensure compatibility.ReplicaRequirements.resourceRequesthas been deprecated in favor ofresourceRequestBytes, which stores proto-serializedresource.Quantityobjects.ComponentReplicaRequirements.resourceRequesthas been deprecated in favor ofresourceRequestBytes, which stores proto-serializedresource.Quantityobjects.NodeClaim.nodeAffinityhas been deprecated in favor ofnodeAffinityBytes, which stores a proto-serializedcorev1.NodeSelectorobject.NodeClaim.tolerationshas been deprecated in favor oftolerationsBytes, which stores proto-serializedcorev1.Tolerationobjects.
Deprecation
Instrumentation: The deprecatedclusterandcluster_namePrometheus metric labels have been removed. The newly introducedmember_clustermetric label name will now be used for that purpose moving forward.karmada-controller-manager: The flags--cluster-lease-durationand--cluster-lease-renew-interval-fractionhave been removed.karmada-scheduler-estimator: The deprecatedEstimatorlabel value forestimating_plugin_extension_pointin theestimating_plugin_execution_duration_secondsandestimating_plugin_extension_point_duration_secondsmetrics has been removed.karmadactl: The deprecatedEtcd.Local.InitImageinKarmada Init Configurationhas been removed.
Dependencies
karmada-controller-manager/karmada-agent: Upgradedgopher-luadependency to v1.1.1.- Kubernetes dependencies have been updated to v1.35.3.
- The base image
alpinehas been promoted fromalpine:3.23.3toalpine:3.23.4.
Others
karmada-operator-chart: To ensure a smooth upgrade, users must first upgrade to releasev1.17.3+before upgrading to av1.18.xrelease.