Skip to content

Commit

Permalink
Ensure same zone for deployed nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Oct 31, 2024
1 parent 4a8e4ab commit e438a5c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/apache-airflow/templates/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,8 @@ workers:

# Select certain nodes for airflow worker pods.
nodeSelector: {
spotinst.io/node-lifecycle: "od"
spotinst.io/node-lifecycle: "od",
topology.kubernetes.io/zone: "us-east-1a"
}
runtimeClassName: ~
priorityClassName: ~
Expand Down Expand Up @@ -925,7 +926,8 @@ scheduler:

# Select certain nodes for airflow scheduler pods.
nodeSelector: {
spotinst.io/node-lifecycle: "od"
spotinst.io/node-lifecycle: "od",
topology.kubernetes.io/zone: "us-east-1a"
}
affinity:
# default scheduler affinity is:
Expand Down Expand Up @@ -1614,7 +1616,8 @@ triggerer:

# Select certain nodes for airflow triggerer pods.
nodeSelector: {
spotinst.io/node-lifecycle: "od"
spotinst.io/node-lifecycle: "od",
topology.kubernetes.io/zone: "us-east-1a"
}
affinity:
# default triggerer affinity is:
Expand Down Expand Up @@ -2324,7 +2327,8 @@ redis:

# Select certain nodes for redis pods.
nodeSelector: {
spotinst.io/node-lifecycle: "od"
spotinst.io/node-lifecycle: "od",
topology.kubernetes.io/zone: "us-east-1a"
}
affinity: {}
tolerations: []
Expand Down

0 comments on commit e438a5c

Please sign in to comment.