Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/scripts/gke/cluster-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ case "$status" in
--disk-size 50 \
--service-account "$NODE_SERVICE_ACCOUNT" \
--workload-pool "${GCP_PROJECT_ID}.svc.id.goog" \
--system-config-from-file node-config.yaml \
--labels "${CLUSTER_LABEL},pr=${PR_NUMBER}"
;;
RUNNING | RECONCILING)
Expand Down
9 changes: 9 additions & 0 deletions .github/scripts/gke/node-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Node system configuration for PR clusters, passed to
# `gcloud container clusters create --system-config-from-file`.
# https://docs.cloud.google.com/kubernetes-engine/docs/how-to/node-system-config
#
# OpenSearch refuses to start below 262144; GKE nodes default to 65530.
# GKE accepts 65536 to 2147483647, and the value must be a string.
linuxConfig:
sysctl:
vm.max_map_count: '262144'