Documentation ¶
Overview ¶
Package clusterautoscaler provides a handler for managing ClusterAutoscaler deployments on clusters
+kubebuilder:rbac:groups=addons.cluster.x-k8s.io,resources=clusterresourcesets,verbs=watch;list;get;create;patch;update;delete +kubebuilder:rbac:groups="",resources=configmaps,verbs=watch;list;get;create;patch;update;delete +kubebuilder:rbac:groups="",resources=nodes,verbs=watch;list;get
Index ¶
- type Config
- type DefaultClusterAutoscaler
- func (n *DefaultClusterAutoscaler) AfterControlPlaneInitialized(ctx context.Context, req *runtimehooksv1.AfterControlPlaneInitializedRequest, ...)
- func (n *DefaultClusterAutoscaler) BeforeClusterUpgrade(ctx context.Context, req *runtimehooksv1.BeforeClusterUpgradeRequest, ...)
- func (n *DefaultClusterAutoscaler) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *options.GlobalOptions // contains filtered or unexported fields }
type DefaultClusterAutoscaler ¶
type DefaultClusterAutoscaler struct {
// contains filtered or unexported fields
}
func New ¶
func New( c ctrlclient.Client, cfg *Config, helmChartInfoGetter *config.HelmChartGetter, ) *DefaultClusterAutoscaler
func (*DefaultClusterAutoscaler) AfterControlPlaneInitialized ¶
func (n *DefaultClusterAutoscaler) AfterControlPlaneInitialized( ctx context.Context, req *runtimehooksv1.AfterControlPlaneInitializedRequest, resp *runtimehooksv1.AfterControlPlaneInitializedResponse, )
func (*DefaultClusterAutoscaler) BeforeClusterUpgrade ¶ added in v0.10.0
func (n *DefaultClusterAutoscaler) BeforeClusterUpgrade( ctx context.Context, req *runtimehooksv1.BeforeClusterUpgradeRequest, resp *runtimehooksv1.BeforeClusterUpgradeResponse, )
func (*DefaultClusterAutoscaler) Name ¶
func (n *DefaultClusterAutoscaler) Name() string
Click to show internal directories.
Click to hide internal directories.