跳转到文档内容
版本:v1.3

v1.0 to v1.1

Follow the Regular Upgrading Process.

Upgrading Notable Changes

The validation process for Cluster objects now has been moved from karmada-webhook to karmada-aggregated-apiserver by PR 1152, you have to remove the Cluster webhook configuration from ValidatingWebhookConfiguration, such as:

diff --git a/artifacts/deploy/webhook-configuration.yaml b/artifacts/deploy/webhook-configuration.yaml
index 0a89ad36..f7a9f512 100644
--- a/artifacts/deploy/webhook-configuration.yaml
+++ b/artifacts/deploy/webhook-configuration.yaml
@@ -69,20 +69,6 @@ metadata:
labels:
app: validating-config
webhooks:
- - name: cluster.karmada.io
- rules:
- - operations: ["CREATE", "UPDATE"]
- apiGroups: ["cluster.karmada.io"]
- apiVersions: ["*"]
- resources: ["clusters"]
- scope: "Cluster"
- clientConfig:
- url: https://karmada-webhook.karmada-system.svc:443/validate-cluster
- caBundle: {{caBundle}}
- failurePolicy: Fail
- sideEffects: None
- admissionReviewVersions: ["v1"]
- timeoutSeconds: 3
- name: propagationpolicy.karmada.io
rules:
- operations: ["CREATE", "UPDATE"]

Otherwise, when joining clusters(or updating Cluster objects) the request will be rejected with following errors:

Error: failed to create cluster(host) object. error: Internal error occurred: failed calling webhook "cluster.karmada.io": the server could not find the requested resource

Please refer to v1.1.0 Release Notes for more details.