Score
Capability
Affinity
Define affinity rules that are added to Pods generated for the Workload.
humanitec.score.yaml
(
view on GitHub
)
:
apiVersion: humanitec.org/v1b1
spec:
pod:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: disktype
operator: In
values:
- ssd