karmada v0.4.0 release
What's New
New policy APIs have been added to support cluster level resources propagation and customization
Users are now able to use ClusterPropagationPolicy
to propagate both cluster-scoped and namespace-scoped resources. In addition, users are able to use ClusterOverridePolicy
to define the overall policy to realize differentiation propagation.
Support resource and policy detector
The detector watches both resources and policy (PropagationPolicy and ClusterPropagationPolicy) changes, all changes on resources or policies will take effect immediately.
Namespace Auto-provision feature get on board
Namespaces created on Karmada
will be synced to all member clusters automatically. Users don't need to propagate namespaces anymore.
Scheduler now able to reschedule resources when policy changes
Once the Placement
rule in the PropagationPolicy
changed, the scheduler will reschedule to meet the declaration.
Scheduler now support failure recovery
Once any of the clusters becomes failure, the scheduler now able to re-schedule the resources to available clusters.
This feature is controlled by flag --failover
and disabled by default.
Other Notable Changes
- The
PropagationWork
API is nowWork
and located at thework.karmada.io
group. - The
PropagationBinding
API is nowResourceBinding
and located at thework.karmada.io
group. - The label
karmada.io/driven-by
has been deprecated and replaced bypropagationpolicy.karmada.io/namespace
,propagationpolicy.karmada.io/name
, andclusterpropagationpolicy.karmada.io/name
. - The label
karmada.io/created-by
has been deprecated and replaced bypropagationpolicy.karmada.io/namespace
,propagationpolicy.karmada.io/name
,clusterpropagationpolicy.karmada.io/name
,resourcebinding.karmada.io/namespace
,resourcebinding.karmada.io/name
,clusterresourcebinding.karmada.io/name
,work.karmada.io/namespace
,work.karmada.io/name
. - Added new annotation
policy.karmada.io/applied-placement
for bothResourceBinding
andClusterResourceBinding
resources, to indicate the placement rule. - Added Validating Admission Webhook to restrict resource selector change for
PropagationPolicy
andClusterPropagationPolicy
objects.
Contributors
Thank you to everyone who contributed to this release!
Users whose commits are in this release (alphabetically by user name)