Labels neo4j

PHOTO EMBED

Mon Dec 08 2025 09:16:27 GMT+0000 (Coordinated Universal Time)

Saved by @emjumjunov

# label all nodes whose name contains "neo4j-pool"
for n in $(kubectl get nodes -o name | grep neo4j-pool | sed 's|node/||'); do
  kubectl label node "$n" neo4j-pool=true --overwrite
done




LOCATION=europe-west3-b
CLUSTER=predicpro-cluster
POOL=neo4j-pool
gcloud container node-pools update "$POOL" --cluster "$CLUSTER" --location "$LOCATION" --node-labels neo4j-pool=true

gcloud container node-pools update "$POOL" --cluster "$CLUSTER" --location "$LOCATION" --node-taints neo4j=reserved:NoSchedule
content_copyCOPY