<p>Is there a way to scale/list node pools for a specific project ID using kubernetes-client java or kubernetes-client-extended libraries.?</p>
<p>I tried searching for APIs present inside kubernetes-client java library but didn't got any.</p>
<p>Link : <a href="https://github.com/kubernetes-client/java" rel="nofollow noreferrer">https://github.com/kubernetes-client/java</a></p>

Pawan Gorai
<p>If you are using GKE then refer to this <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/node-pools" rel="nofollow noreferrer">doc</a> to add or manage the node pools or verify this <a href="https://developers.google.com/resources/api-libraries/documentation/container/v1beta1/python/latest/container_v1beta1.projects.zones.clusters.nodePools.html" rel="nofollow noreferrer">instance's methods</a> of creating a node pool, auto scaling the node pools.</p>
<p>You can also find more client libraries of kubernetes <a href="https://kubernetes.io/docs/reference/using-api/client-libraries/" rel="nofollow noreferrer">here</a>.</p>
<p><strong>Edit 1</strong>: seems to be there is no direct or generic library to list/scale node pools but in GKE we are having an option called  <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/resizing-a-cluster" rel="nofollow noreferrer">resize Google Kubernetes Engine (GKE) Standard clusters</a>. You can resize a cluster to increase or decrease the number of nodes in that cluster.</p>
<p>You can also use GKE's <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler" rel="nofollow noreferrer">cluster autoscaler</a> feature that automatically resizes your node pools in response to changing conditions, such as changes in your workloads and resource usage.</p>
<p><strong>Edit 2</strong>: there is no native k8s library available to list or scale node pools.</p>
<p>You can raise your issue <a href="https://github.com/kubernetes-client/java/#support" rel="nofollow noreferrer">here</a></p>
<p>These are the officially available <a href="https://kubernetes.io/docs/reference/using-api/client-libraries/#officially-supported-kubernetes-client-libraries" rel="nofollow noreferrer">kubernetes client libraries</a> and link  for <a href="https://github.com/kubernetes-client/java/" rel="nofollow noreferrer">java client Library</a></p>
