<p>Kubernetes Cluster Autoscaler versions are <a href="https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#which-version-on-cluster-autoscaler-should-i-use-in-my-cluster" rel="nofollow noreferrer">tightly coupled</a> to Kubernetes versions. How can I check what version of Cluster Autoscaler is deployed currently in my Kubernetes cluster?</p>

<p>Running <code>gcloud container clusters describe my-kube-cluster</code> does not return the Cluster Autoscaler version:</p>

<pre><code>nodePools:
- autoscaling:
    enabled: true
    maxNodeCount: 12
    minNodeCount: 3
</code></pre>

<p>There's no endpoint in the cluster autoscaler that prints it's version, including <code>/health-check</code> and <code>/metrics</code>. The only place I could find that referenced a version number was <a href="https://github.com/kubernetes/autoscaler/blob/da224d4db9fc6269914e0cd1d662b923b2dc7789/cluster-autoscaler/main.go#L286" rel="nofollow noreferrer">this line in the initialisation code</a>, which you might find in the cluster autoscaler logs. Other than that I guess you could use the kubernetes API to query the cluster autoscaler Deployment resource image tag:</p>

<pre><code>kubectl get pods --all-namespaces -o=jsonpath="{..image}" -l app=cluster-autoscaler
</code></pre>
