Closed everpeace closed 5 years ago
This supports OR-ed label selector such that
keyX==valX OR keyY==valY
These are yaml example
# Throttle(it can select pods in the same namespace) apiVersion: schedule.k8s.everpeace.github.com/v1alpha1 kind: Throttle metadata: name: foo spec: throttlerName: kube-throttler selector: selectorTerms: - podSelector: matchLabels: throttle: t1 .. # ClusterThrottle(it can select pods across multiple namespaces) apiVersion: schedule.k8s.everpeace.github.com/v1alpha1 kind: ClusterThrottle metadata: name: foo spec: throttlerName: kube-throttler selector: selectorTerms: - namespaceSelector: matchLabels: throttle: 'true' podSelector: matchLabels: throttle: t1 ...
This supports OR-ed label selector such that
These are yaml example