Parameters
The parent key for all of the following parameters is vertical_pod_autoscaler
.
namespace
type |
string |
default |
|
The namespace in which to deploy this component.
allow_autoscaling
type |
boolean |
default |
false |
Wether to enable ability to actively update resources.
Enabling will also deploy the admission-controller and updater, so the component is able to actively update resources with its recommendations.
autoscaler
type |
string |
default |
{} |
Create autoscaler resources.
Example
autoscaler:
my-namespace/frontend: {} (1)
my-namespace/backend: (2)
kind: StatefulSet
my-other-namespace/database: (3)
kind: StatefulSet
mode: Auto
spec: (4)
1 | Creates a autoscaler resource in namespace my-namespace for Deployment frontend . |
2 | Creates a autoscaler resource in namespace my-namespace for StatefulSet backend . |
3 | Creates a autoscaler resource in namespace my-other-namespace for StatefulSet database , and will automatically adjust resources. |
4 | Add arbitrary autoscaler specs. |
For more information about mode
, see UpdateMode.