/
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

Related content

Manually Provision Persistent Volumes
Manually Provision Persistent Volumes
Read with this
Resources
More like this
Install and Configure AGILITY
Install and Configure AGILITY
Read with this
Install AGILITY on Kubernetes
Install AGILITY on Kubernetes
Read with this
AGILITY Command Line (CLI) Tool Reference
AGILITY Command Line (CLI) Tool Reference
Read with this
Install AGILITY VM Cloud Image
Install AGILITY VM Cloud Image
Read with this