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
cat <<EOF> agility-services-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" agility-operator: affinity: *affinity tolerations: *tolerations keycloak: affinity: *affinity tolerations: *tolerations keycloakConfigCli: podAffinity: *affinity podTolerations: *tolerations minio: affinity: *affinity tolerations: *tolerations postgrescluster: pgbackrest: otherSpecs: jobs: affinity: *affinity tolerations: *tolerations repoHost: affinity: *affinity tolerations: *tolerations instances: extraAffinity: *affinity tolerations: *tolerations proxy: extraAffinity: *affinity tolerations: *tolerations strimzi-kafka-cluster-config: kafka: cluster: otherSpecs: kafka: template: pod: affinity: *affinity tolerations: *tolerations zookeeper: template: pod: affinity: *affinity tolerations: *tolerations kafkaExporter: template: pod: affinity: *affinity tolerations: *tolerations entityOperator: template: pod: affinity: *affinity tolerations: *tolerations kafka-ui: affinity: *affinity tolerations: *tolerations restore: dataSource: postgresCluster: affinity: *affinity tolerations: *tolerations EOF
Deploy agility-services adding the new values file
helm --namespace agility upgrade --install --create-namespace agility-services ./agility-services --values agility-services-values-overrides.yaml --values agility-services-values-affinity-tolerations.yaml
Define affinity and tolerations for agility
Define affinity and tolerations override values file
cat <<EOF> agility-values-affinity-tolerations.yaml affinity: &affinity nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: agility-instance operator: In values: - dtgroup tolerations: &tolerations - key: "agility-instance" opecat <<EOF> agility-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" cv: affinity: *affinity tolerations: *tolerations agility-tests: performanceTests: affinity: *affinity tolerations: *tolerations uiTests: affinity: *affinity tolerations: *tolerations sftp-server: affinity: *affinity tolerations: *tolerations EOF
Deploy AGILITY adding the new values file
helm --namespace agility upgrade --install --create-namespace agility ./agility --values agility-values-overrides.yaml --values agility-values-affinity-tolerations.yaml
, multiple selections available,
Related content
Install AGILITY on Kubernetes
Install AGILITY on Kubernetes
More like this
Manually Provision Persistent Volumes
Manually Provision Persistent Volumes
Read with this
Install and Configure AGILITY
Install and Configure AGILITY
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
AGILITY API Endpoints
AGILITY API Endpoints
Read with this