/
Define Affinity and Tolerations
Define Affinity and Tolerations
All values files must be defined under same directory where agility helm charts were downloaded. Usually agility-charts
directory:
cd agility-charts
Define affinity and tolerations for agility-system
Define affinity and tolerations override values file
cat <<EOF> agility-system-values-affinity-tolerations.yaml affinity: &affinity nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: agility-instance operator: In values: - dtgroup tolerations: &tolerations - key: "agility-instance" operator: "Equal" value: "dtgroup" effect: "NoSchedule" pgo: affinity: *affinity tolerations: *tolerations strimzi-kafka-operator: affinity: *affinity tolerations: *tolerations EOF
Deploy agility-system adding the new values file
helm --namespace kube-system upgrade --install --create-namespace agility-system ./agility-system --values agility-system-values-affinity-tolerations.yaml
Define affinity and tolerations for agility-services
Define affinity and tolerations override values file
Deploy agility-services adding the new values file
Define affinity and tolerations for agility
Define affinity and tolerations override values file
Deploy AGILITY adding the new values file