Documentation ¶
Index ¶
- Constants
- Variables
- func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
- func NewBootstrapper(client client.Client, namespace string) component.DeployWaiter
- func NewCRD(client client.Client, applier kubernetes.Applier) component.Deployer
- func ProviderSidecarContainer(namespace, providerName, image string) corev1.Container
- func ProviderSidecarVPAContainerPolicy(providerName string) vpaautoscalingv1.ContainerResourcePolicy
- type Interface
- type Values
Constants ¶
const (
// VPAName is the name of the vertical pod autoscaler for the machine-controller-manager.
VPAName = "machine-controller-manager-vpa"
)
Variables ¶
var ( // DefaultInterval is the default interval. DefaultInterval = 5 * time.Second // DefaultTimeout is the default timeout. DefaultTimeout = 5 * time.Minute )
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 machine-controller-manager logs.
func NewBootstrapper ¶
func NewBootstrapper(client client.Client, namespace string) component.DeployWaiter
NewBootstrapper creates a new instance of DeployWaiter for the machine-controller-manager bootstrapper.
func ProviderSidecarContainer ¶
ProviderSidecarContainer returns a corev1.Container object which can be injected into the machine-controller-manager deployment managed by the gardenlet. This function can be used in provider-specific control plane webhook implementations when the standard sidecar container is required.
func ProviderSidecarVPAContainerPolicy ¶
func ProviderSidecarVPAContainerPolicy(providerName string) vpaautoscalingv1.ContainerResourcePolicy
ProviderSidecarVPAContainerPolicy returns a vpaautoscalingv1.ContainerResourcePolicy object which can be injected into the machine-controller-manager-vpa VPA managed by the gardenlet. This function can be used in provider-specific control plane webhook implementations when the standard container policy for the sidecar is required.
Types ¶
type Interface ¶
type Interface interface { component.DeployWaiter // SetNamespaceUID sets the UID of the namespace into which the cluster-autoscaler shall be deployed. SetNamespaceUID(types.UID) }
Interface contains functions for a machine-controller-manager deployer.
type Values ¶
type Values struct { // Image is the container image used for machine-controller-manager. Image string // Replicas is the number of replicas for the deployment. Replicas int32 // RuntimeKubernetesVersion is the Kubernetes version of the runtime cluster. RuntimeKubernetesVersion *semver.Version // contains filtered or unexported fields }
Values is a set of configuration values for the machine-controller-manager component.