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:

  1. diff --git a/artifacts/deploy/webhook-configuration.yaml b/artifacts/deploy/webhook-configuration.yaml
  2. index 0a89ad36..f7a9f512 100644
  3. --- a/artifacts/deploy/webhook-configuration.yaml
  4. +++ b/artifacts/deploy/webhook-configuration.yaml
  5. @@ -69,20 +69,6 @@ metadata:
  6. labels:
  7. app: validating-config
  8. webhooks:
  9. - - name: cluster.karmada.io
  10. - rules:
  11. - - operations: ["CREATE", "UPDATE"]
  12. - apiGroups: ["cluster.karmada.io"]
  13. - apiVersions: ["*"]
  14. - resources: ["clusters"]
  15. - scope: "Cluster"
  16. - clientConfig:
  17. - url: https://karmada-webhook.karmada-system.svc:443/validate-cluster
  18. - caBundle: {{caBundle}}
  19. - failurePolicy: Fail
  20. - sideEffects: None
  21. - admissionReviewVersions: ["v1"]
  22. - timeoutSeconds: 3
  23. - name: propagationpolicy.karmada.io
  24. rules:
  25. - operations: ["CREATE", "UPDATE"]

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

  1. 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.