/
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

  1. 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
  2. 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

  1. Define affinity and tolerations override values file

  2. Deploy agility-services adding the new values file

Define affinity and tolerations for agility

  1. Define affinity and tolerations override values file

  2. Deploy AGILITY adding the new values file