Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LabelRole is a constant for the value of a label with key 'role'.
LabelRole = "controller-manager"
)
Variables ¶
View Source
var ( // IntervalWaitForDeployment is the interval used while waiting for the Deployments to become healthy or deleted. IntervalWaitForDeployment = 5 * time.Second // TimeoutWaitForDeployment is the timeout used while waiting for the Deployments to become healthy or deleted. TimeoutWaitForDeployment = 3 * time.Minute )
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the kube-controller-manager logs.
Types ¶
type HVPAConfig ¶ added in v1.23.0
type HVPAConfig struct { // Enabled states whether an HVPA object shall be deployed. Enabled bool // The update mode to use for scale down. ScaleDownUpdateMode *string }
HVPAConfig contains information for configuring the HVPA object for the etcd.
type Interface ¶ added in v1.24.0
type Interface interface { component.DeployWaiter component.MonitoringComponent // SetReplicaCount sets the replica count for the kube-controller-manager. SetReplicaCount(replicas int32) // WaitForControllerToBeActive checks whether kube-controller-manager has // recently written to the Endpoint object holding the leader information. If yes, it is active. WaitForControllerToBeActive(ctx context.Context) error // SetShootClient sets the shoot client used to deploy resources into the Shoot API server. SetShootClient(c client.Client) }
Interface contains functions for a kube-controller-manager deployer.
func New ¶
func New( logger logrus.FieldLogger, seedClient kubernetes.Interface, namespace string, secretsManager secretsmanager.Interface, version *semver.Version, image string, config *gardencorev1beta1.KubeControllerManagerConfig, podNetwork *net.IPNet, serviceNetwork *net.IPNet, hvpaConfig *HVPAConfig, ) Interface
New creates a new instance of DeployWaiter for the kube-controller-manager.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.