IBM Cloud Docs
Why does the Ingress status show an ERRHPANF error?

Why does the Ingress status show an ERRHPANF error?

Virtual Private Cloud Classic infrastructure Satellite

When you check the status of your cluster's Ingress components by running the ibmcloud ks ingress status-report get command, you see an error similar to the following example.

The autoscaler resource is missing (ERRHPANF).

The horizontal pod autoscaler (HPA) resource is missing for the ALB, and the deployment does not scale dynamically with the load. The HPA resource might be configured incorrectly, which prevents the resource from applying to the cluster.

Check the HPA resource configuration for errors. Then, apply the resource again.

For more information on ALB autoscaling, see Dynamically scaling ALBs with autoscaler.

  1. Get the autoscale configuration.

    ibmcloud ks ingress alb autoscale get -c <clusterID> --alb <albID>
    
  2. Fix any errors in the configuration. If you specified custom metrics, ensure they are in valid YAML format and that the YAML snippet contains a list of MetricSpec (autoscaling.k8s.io/v2).

  3. Run the command to update the ALB and apply the corrected configuration.

    ibmcloud ks ingress alb autoscale set
    
  4. Wait 10 to 15 minutes for the changes to apply. Then check if the warning is resolved.

    ibmcloud ks ingress status-report get
    
  5. If the issue persists, contact support. Include a detailed list of the troubleshooting steps you took. Open a support case. In the case details, be sure to include any relevant log files, error messages, or command outputs.