I have setup gke cluster with only one worker node , I enabled the cluster autoscaler using this command , labelled by node-pool as app=angular-app
gcloud container clusters update cluster-1 --enable-autoscaling --node-pool=default-pool --min-nodes=1 --max-nodes=2 --region=us-central1-c
After that I deployed my angular app with replica 1 using my YAML file
After deploying my angular app using YAML file I increased the replicas to 7 , It scaled and provisioned a worker node but now when I changed the replicas from 7 to 1 , the worker is not scaling down even though the number of pod is 1.
My question why the node is not scaling down , and what is solution to decrease the worker node as for 1 pod one worker node is more than sufficient.
Note :- RAM :- 4gb , cpu :- 2cpu for one worker node.
