github karmada-io/karmada v1.3.0
karmada v1.3.0 release

latest releases: v1.10.1, v1.9.3, v1.9.2...
22 months ago

What's New

Taint-based eviction in graceful way

We introduced a new controller named taint manager which aims to evict workloads from faulty clusters after a grace period.
Then the scheduler would select new best-fit clusters for the workloads. In addition, if the feature GracefulEviction is enabled,
the eviction will be very smooth, that is, the removal of evicted workloads will be delayed until the workloads are available on
new clusters or reach the maximum grace period. For more details please refer to Failover Overview.

(Feature contributor: @Garrybest, @XiShanYongYe-Chang)

Global proxy for resources across multi-clusters

We introduced a new proxy feature to karmada-search that allows users to access resources in multiple clusters in a way just like accessing resources in a single cluster. No matter whether the resources are managed by Karmada, by leveraging the proxy, users
can manipulate the resources from the Karmada control plane.
For more details please refer to Global Resource Proxy.

(Feature contributor: @ikaven1024, @XiShanYongYe-Chang)

Cluster resource modeling

To provide a more accurate scheduling basis for the scheduler, we introduced a way to model the cluster's available resources.
The cluster status controller will model the resources as per the customized resource models, which is more accurate than the general resource summary. For more details please refer to Cluster Resource Modeling.

(Feature contributor: @halfrost, @Poor12)

Bootstrap token-based cluster registration

Now for clusters in Pull mode, we provide a way for them to register with the Karmada control plane. By leveraging the commands token and register in kubectl, the registration process including deploying the karmada-agent can be completed very easily. For more details please refer to Register cluster with Pull mode.

(Feature contributor: @lonelyCZ )

Significant improvement in system scalability

We improved the system scalability, such as:

  • Enable pprof(#2008)
  • Introduce cachedRESTMapper(#2187)
  • Adopt the transform function to reduce memory usage(#2383)

With these improvements, Karmada can easily manage hundreds of huge clusters. The detailed test report will be released soon.

Other Notable Changes

API changes

  • The Cluster API is added optional field ID to uniquely identify the cluster. (@RainbowMango, #2180)
  • The Cluster API is added optional field ProxyHeader to specify the HTTP header required by the proxy server. (@mrlihanbo, #1874)
  • The Cluster API is added optional field named ResourceModels to specify resource modeling. (@halfrost, #2386)
  • The Work and ResourceBinding/ClusterResourceBinding APIs are added field health to represent the state of workload. (@XiShanYongYe-Chang, #2351)

Bug Fixes

  • karmadactl: Fixed issue that Kubernetes v1.24 cannot be joined. (@zgfh, #1972)
  • karmadactl: Fixed a panic issue when retrieving resources from an unknown cluster(karmadactl get xxx --cluster=not-exist). (@my-git9, #2171)
  • karmadactl: Fixed failed promoting if a resource with another kind using the same name has been promoted before. (@wuyingjun-lucky, #1824)
  • karmada-search: Fixed panic when the resource annotation is nil. (@XiShanYongYe-Chang, #1921)
  • karmada-search: Fixed panic comparing uncomparable type cache.ResourceEventHandlerFuncs. (@liys87x, #1951)
  • karmada-search: Fixed failed query on a single namespace (@luoMonkeyKing, #2227)
  • karmada-controller-manager: Fixed that Job status might be incorrectly marked as Completed. (@Garrybest, #1987)
  • karmada-controller-manager: Fixed returning err when the interpreter webhook returns nil patch and nil patchType. (@CharlesQQ, #2161)
  • karmada-controller-manager: Fixed that Argo CD cannot assess Deployment health status. (@xuqianjins, #2241)
  • karmada-controller-manager: Fixed that Argo CD cannot assess StatefulSet/DaemonSet health status. (@RainbowMango, #2252)
  • karmada-controller-manager/karmada-agent: Fixed an resource status can not be collected issue in case of Resource Interpreter returns an error. (@XiShanYongYe-Chang, #2428)
  • karmada-sechduler: Fixed a panic issue when replicaDivisionPreference is Weighted and WeightPreference is nil. (@XiShanYongYe-Chang, #2451)

Features & Enhancements

  • karmadactl: Added --force flag to deinit to skip confirmation. (@zgfh, #2016)
  • karmadactl: The flag -c of sub-command promote now has been changed to uppercase -C. (@Fish-pro, #2140)
  • ``karmadactl: Introduced --cluster-zone` and `--cluster-region` flags to `join` command to specify the zone and region of joining cluster. (@chaunceyjiang, #2048)
  • karmadactl: Introduced --namespace flag to exec command to specify the workload namespace. (@carlory, #2092)
  • karmadactl: Allowed reading namespaces from the context field of karmada config for get command. (@carlory, #2148)
  • karmadactl: Introduced apply subcommand to apply a configuration to a resource by file name or stdin. (@carlory, #2000)
  • karmadactl: Introduced --namespace flag to describe command to specify the namespace the workload belongs to. (@TheStylite, #2153)
  • karmadactl: Introduced --cluster flag for apply command to allow users to select one or many member clusters to propagate resources. (@carlory, #2192)
  • karmadactl: Introduced options subcmd to list global command-line options. (@lonelyCZ, #2283)
  • karmadactl: Introduced the token command to manage bootstrap tokens. (@lonelyCZ, #2399)
  • karmadactl: Introduced the register command for joining PULL mode cluster. (@lonelyCZ, #2388)
  • karmada-scheduler: Introduced --enable-empty-workload-propagation flag to enable propagating empty workloads. (@CharlesQQ, #1720)
  • karmada-scheduler: Allowed extended plugins in an out-of-tree mode. (@kerthcet, #1663)
  • karmada-scheduler: Introduced --disable-scheduler-estimator-in-pull-mode flag to disable scheduler-estimator for clusters in pull mode. (@prodanlabs, #2064)
  • karmada-scheduler: Introduced --plugins flag to enable or disable scheduler plugins. (@chaunceyjiang, #2135)
  • karmada-scheduler: Now the scheduler starts to re-schedule in case of cluster state changes. (@chaunceyjiang, #2301)
  • karmada-search: The search API supports searching for resources according to labels. (@XiShanYongYe-Chang, #1917)
  • karmada-search: The annotation cluster.karmada.io/name which is used to represent the source of cache now has been changed to resource.karmada.io/cached-from-cluster. (@calvin0327, #1960)
  • karmada-search: Fixed panic issue when dumping error info. (@AllenZMC, #2231)
  • karmada-controller-manager/karmada-agent: Cluster state controller now able to collect partial API list in the case of discovery failure. (@duanmengkk, #1968)
  • karmada-controller-manager/karmada-agent: Introduced --cluster-success-threshold flag to specify cluster success threshold. Default to 30s. (@dddddai, #1884)
  • karmada-controller-manager/karmada-agent: Added CronJob support to the default resource interpreter framework. (@chaunceyjiang, #2060)
  • karmada-controller-manager/karmada-agent: Introduced --leader-elect-lease-duration, --leader-elect-renew-deadline and --leader-elect-retry-period flags to specify leader election behaviors. (@CharlesQQ, #2056)
  • karmada-controller-manager/karmada-agent : Fixed panic issue when dumping error infos. (@AllenZMC, #2117)
  • karmada-controller-manager/karmada-agent: Supported interpreting health state by levering Resource Interpreter Framework. (@zhuwint, #2329)
  • karmada-controller-manager/karmada-agent: Introduced --enable-cluster-resource-modeling flag to enable or disable cluster modeling feature. (@RainbowMango, #2387)
  • karmada-controller-manager/karmada-agent: Now able to retain .spec.claimRef field of PersistentVolume. (@Garrybest, #2415)
  • karmada-controller-manager: interpreter framework starts to support Pod state aggregation. (@xyz2277, #1913)
  • karmada-controller-manager: interpreter framework starts to support PVC state aggregation. (@chaunceyjiang, #2070)
  • karmada-controller-manager: Stopped reporting and refreshing lease for clusters in Push mode. (@dddddai, #2033)
  • karmada-controller-manager: interpreter framework starts to support Pod Failded and Succeeded aggregation. (@chaunceyjiang, #2146)
  • karmada-controller-manager: namespace controller starts to apply ClusterOverridePolicy during propagation namespaces. (@zirain, #2263)
  • karmada-controller-manager: Propagation dependencies support propagating ServiceAccounts. (@chaunceyjiang, #2035)
  • karmada-agent: Introduced --metrics-bind-address flag to specify the address for serving Prometheus metrics. (@1953, #1953)
  • karmada-agent: Introduced --report-secrets flag to allow secrets to be reported to the Karmada control plane during registering. (@CharlesQQ, #1990)
  • karmada-agent: Introduced --cluster-provider and --cluster-region flags to specify cluster-provider and cluster-region during registering. (@CharlesQQ, #2152)
  • karmada-webhook: Added default tolerations, defaultNotReadyTolerationSeconds, and defaultUnreachableTolerationSeconds, for (Cluster)PropagationPolicy. (@Garrybest, #2284)
  • karmada-webhook: The '.spec.ttlSecondsAfterFinished' field of the Job resource will be removed before propagating to member clusters. (@chaunceyjiang, #2294)
  • karmada-agent/karmadactl: Now an error will be reported when registering the same cluster to Karmada. (@yy158775, #2369)

Other

Helm Chart

  • Helm chart: Updated default kube-apiserver from v1.21 to v1.22. (@AllenZMC, #1941)
  • Helm Chart: Added missing APIService configuration for karmada-aggregated-apiserver. (@zhixian82, #2258)
  • Helm Chart: Fixed the webhook service mismatch issue in the case of customized release name. (@calvin0327, #2275)
  • Helm Chart: Introduced --cluster-api-endpoint for karmada-agent. (@my-git9, #2299)
  • Helm Chart: Fixed misconfigured MutatingWebhookConfiguration. (@zhixian82, #2401)

Dependencies

Deprecation

  • karmadactl: Removed --dry-run flag from describe, exec and log commands. (@carlory, #2023)
  • karmadactl: Removed the --cluster-namespace flag for get command. (@carlory, #2190)
  • karmadactl: Removed the --cluster-namespace flag for promote command. (@carlory, #2193)

Contributors

Thank you to everyone who contributed to this release!

Users whose commits are in this release (alphabetically by user name)

Don't miss a new karmada release

NewReleases is sending notifications on new releases.