IBM Cloud Docs
Autoscaling fails after API key reset

Autoscaling fails after API key reset

Infrastructure provider: VPC

After you reset your API key, autoscaling fails with an IAM permission error.

Resetting your API key means the credentials the cluster autoscaler add-on uses is no longer valid. After resetting your API key, you must reset the cluster autoscaler controller to use the latest API key for volume provisioning.

After resetting your API key, you must re-create the cluster autoscaler controller pod. To re-create the controller pod, delete it by running the following command:

  1. Get the autoscaler pod name.

    kubectl get pods -n kube-system | grep cluster-autoscaler
    
  2. Delete the autoscaler pod.

    kubectl delete pod -n kube-system cluster-autoscaler-pod