Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ServiceName is the name of the service of the kube-controller-manager. ServiceName = "kube-controller-manager" // SecretName is a constant for the secret name for the kube-controller-manager's kubeconfig secret. SecretName = "kube-controller-manager" // SecretNameServer is the name of the kube-controller-manager server certificate secret. SecretNameServer = "kube-controller-manager-server" // LabelRole is a constant for the value of a label with key 'role'. LabelRole = "controller-manager" )
Variables ¶
This section is empty.
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 // SetSecrets sets the secrets for the kube-controller-manager. SetSecrets(Secrets) // 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 client.Client, namespace string, 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.
type Secrets ¶
type Secrets struct { // Kubeconfig is a secret that contains a kubeconfig which can be used by the kube-controller-manager to communicate with the kube-apiserver. Kubeconfig component.Secret // Server is a secret containing a x509 TLS server certificate and key for the HTTPS server inside the kube-controller-manager (which is used for metrics and health checks). Server component.Secret // CA is a secret containing a root CA x509 certificate and key that is used for the flags. // --cluster-signing-cert-file // --cluster-signing-key-file // --root-ca-file CA component.Secret // ServiceAccountKey is a secret containing a PEM-encoded private RSA or ECDSA key used to sign service account tokens. // used for the flag: --service-account-private-key-file ServiceAccountKey component.Secret }
Secrets is collection of secrets for the kube-controller-manager.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.