Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch rt node pool to c2 instances #1652

Merged
merged 1 commit into from
Jul 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions kubernetes/gke/config-nodepool.sh
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
GKE_NODEPOOL_NAMES=(
'apps-v2'
'gtfsrt-v2'
'gtfsrt-v3'
'jupyterhub-users'
'jobs-v1'
)

declare -A GKE_NODEPOOL_NODE_COUNTS
GKE_NODEPOOL_NODE_COUNTS=(
['apps-v2']=1
['gtfsrt-v2']=1
['gtfsrt-v3']=1
['jupyterhub-users']=1
['jobs-v1']=1
)

declare -A GKE_NODEPOOL_NODE_LOCATIONS
GKE_NODEPOOL_NODE_LOCATIONS=(
['apps-v2']=$GKE_REGION-a,$GKE_REGION-b,$GKE_REGION-c
['gtfsrt-v2']=$GKE_REGION-a,$GKE_REGION-b,$GKE_REGION-c
['gtfsrt-v3']=$GKE_REGION-a,$GKE_REGION-b,$GKE_REGION-c
['jupyterhub-users']=$GKE_REGION-a,$GKE_REGION-b,$GKE_REGION-c
['jobs-v1']=$GKE_REGION-a
)

declare -A GKE_NODEPOOL_MACHINE_TYPES
GKE_NODEPOOL_MACHINE_TYPES=(
['apps-v2']=n1-standard-4
['gtfsrt-v2']=n2-highcpu-16
['gtfsrt-v3']=c2-standard-8
['jupyterhub-users']=e2-highmem-2
['jobs-v1']=c2-standard-4
)

declare -A GKE_NODEPOOL_TAINTS
GKE_NODEPOOL_TAINTS=(
['gtfsrt-v2']='resource-domain=gtfsrt:NoSchedule'
['gtfsrt-v3']='resource-domain=gtfsrt:NoSchedule'
['jupyterhub-users']='hub.jupyter.org/dedicated=user'
['jobs-v1']='pod-role=computetask:NoSchedule'
)

declare -A GKE_NODEPOOL_LABELS
GKE_NODEPOOL_LABELS=(
['gtfsrt-v2']='resource-domain=gtfsrt'
['gtfsrt-v3']='resource-domain=gtfsrt'
['jupyterhub-users']='hub.jupyter.org/node-purpose=user'
['jobs-v1']='pod-role=computetask'
)