15.6 Deleting HPA

If you need to delete the Horizontal Pod Autoscaler (HPA), you can do so by running the following commands:
cd $WORKDIR/kubernetes/hpa
kubectl delete -f autoscalehpa.yaml
The output will look similar to the following:
horizontalpodautoscaler.autoscaling "governancedomain-oim-cluster-hpa" deleted