Google Kubernetes Engine Node Pools

In Google Kubernetes Engine, Nodes are Google Complete Engine (Virtual Machiens). Pods run inside Nodes. A Kubernetes cluster can contain multiple node pools. A node pool contain multiple nodes of same instance type.

To create a Node Pool in Google Kubernetes Engine, run

gcloud container node-pools create POOL_NAME \
  --cluster=CLUSER_NAME \
  --machine-type=e2-standard-2 \
  --num-nodes=1 \
  --zone=ZONE_NAME

To delete a node pool, run

Advertisement

gcloud container node-pools delete POOL_NAME --cluster CLUSER_NAME --zone ZONE_NAME

To resize a node pool, run

gcloud container clusters resize CLUSER_NAME --node-pool POOL_NAME \
    --num-nodes 3 --zone ZONE_NAME
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement