Description
This is a Bug Report
Problem:
In first paragraph of the "k8s v1.15 Documentation - Tasks - Horizontal Pod Autoscaler Walkthrough" it is said:
"Horizontal Pod Autoscaler automatically scales the number of pods in a replication controller, deployment or replica set based on ..."
But from v1.9 HPA it is also applicable for statefulset objects (as described in kubernetes/issue/#44044: kubernetes/kubernetes#44033 )
Proposed Solution:
To add "statefulset" to the list of object types hpa supports
Proposal:
"Horizontal Pod Autoscaler automatically scales the number of pods in a replication controller, deployment, replica set or stateful set based on ..."
NOTE: it looks this issue has already been reported (see kubernetes/kubernetes#70709) but not fully solved ... pending for the documentation related aspects ...
Page to Update:
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/