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
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
Leave a Reply