Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ManagedResourceControlName is the name of the of the cluster-autoscaler managed resource.
ManagedResourceControlName = "cluster-autoscaler"
)
View Source
const (
// ServiceName is the name of the service of the cluster-autoscaler.
ServiceName = "cluster-autoscaler"
)
Variables ¶
View Source
var TimeoutWaitForManagedResource = 2 * time.Minute
TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the cluster-autoscaler logs.
func NewBootstrapper ¶
func NewBootstrapper(client client.Client, namespace string) component.DeployWaiter
NewBootstrapper creates a new instance of DeployWaiter for the cluster-autoscaler bootstrapper.
Types ¶
type Interface ¶ added in v1.24.0
type Interface interface { component.DeployWaiter component.MonitoringComponent // SetNamespaceUID sets the UID of the namespace into which the cluster-autoscaler shall be deployed. SetNamespaceUID(types.UID) // SetMachineDeployments sets the machine deployments. SetMachineDeployments([]extensionsv1alpha1.MachineDeployment) }
Interface contains functions for a cluster-autoscaler deployer.
func New ¶
func New( client client.Client, namespace string, secretsManager secretsmanager.Interface, image string, replicas int32, config *gardencorev1beta1.ClusterAutoscaler, ) Interface
New creates a new instance of DeployWaiter for the cluster-autoscaler.
Click to show internal directories.
Click to hide internal directories.