ClusterTaintPolicy v1alpha1
apiVersion: policy.karmada.io/v1alpha1
import "github.com/karmada-io/karmada/pkg/apis/policy/v1alpha1"
ClusterTaintPolicy
ClusterTaintPolicy automates taint management on Cluster objects based on declarative conditions. The system evaluates AddOnConditions to determine when to add taints, and RemoveOnConditions to determine when to remove taints. AddOnConditions are evaluated before RemoveOnConditions. Taints are NEVER automatically removed when the ClusterTaintPolicy is deleted.
-
apiVersion: policy.karmada.io/v1alpha1
-
kind: ClusterTaintPolicy
-
metadata (ObjectMeta)
-
spec (ClusterTaintPolicySpec), required
Spec represents the desired behavior of ClusterTaintPolicy.