v1.17 升级到 v1.18
遵循常规升级流程。
升级后显著变化
API 变化
- API
PropagationPolicy/ClusterPropagationPolicy中引入了OverflowClusterAffinities字段,以支持在混合云调度中当主集群资源不足时将工作负载溢出到备用集群。 karmada-scheduler-estimator: gRPC 消息MaxAvailableComponentSetsRequest中引入了AssumedWorkloads字段。karmada-scheduler-estimator: gRPC 消息MaxAvailableReplicasRequest中引入了AssumedWorkloads字段。karmada-webhook: 现在会拒绝spec.placement.clusterTolerations中使用了Lt或Gt运算符的PropagationPolicy和ClusterPropagationPolicy资源。scheduler-estimator: 使用标准protoc-gen-go生成 gRPC API,以支持 Kubernetes 1.35+。在 gRPC 消息中为 K8s 类型引入了对等的bytes字段以确保兼容性。ReplicaRequirements.resourceRequest已弃用,由resourceRequestBytes替代,后者存储 proto 序列化的resource.Quantity对象。ComponentReplicaRequirements.resourceRequest已弃用,由resourceRequestBytes替代,后者存储 proto 序列化的resource.Quantity对象。NodeClaim.nodeAffinity已弃用,由nodeAffinityBytes替代,后者存储 proto 序列化的corev1.NodeSelector对象。NodeClaim.tolerations已弃用,由tolerationsBytes替代,后者存储 proto 序列化的corev1.Toleration对象。