Documentation ¶
Index ¶
- func AddIstioIngressGateway(istioDeployer istio.Interface, namespace string, annotations map[string]string, ...) error
- func DeployKubeAPIServer(ctx context.Context, runtimeClient client.Client, runtimeNamespace string, ...) error
- func GetIstioNamespaceForZone(defaultNamespace string, zone string) string
- func GetIstioZoneLabels(labels map[string]string, zone *string) map[string]string
- func IsZonalIstioExtension(labels map[string]string) (bool, string)
- func NewEtcdDruid(c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, ...) (component.DeployWaiter, error)
- func NewGardenerResourceManager(c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, ...) (component.DeployWaiter, error)
- func NewHVPA(c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, ...) (deployer component.DeployWaiter, err error)
- func NewIstio(cl client.Client, imageVector imagevector.ImageVector, ...) (istio.Interface, error)
- func NewKubeAPIServer(ctx context.Context, runtimeClientSet kubernetes.Interface, ...) (kubeapiserver.Interface, error)
- func NewKubeStateMetrics(c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, ...) (component.DeployWaiter, error)
- func NewVerticalPodAutoscaler(c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, ...) (component.DeployWaiter, error)
- func SnapshotEtcd(ctx context.Context, secretsManager secretsmanager.Interface, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIstioIngressGateway ¶ added in v1.70.0
func AddIstioIngressGateway( istioDeployer istio.Interface, namespace string, annotations map[string]string, labels map[string]string, externalTrafficPolicy *corev1.ServiceExternalTrafficPolicyType, serviceExternalIP *string, zone *string, ) error
AddIstioIngressGateway adds an Istio ingress gateway to the given deployer. It uses the first Ingress Gateway to fill out common chart values. Hence, it is assumed that at least one Ingress Gateway was added to the given `istioDeployer` before calling this function.
func DeployKubeAPIServer ¶ added in v1.68.0
func DeployKubeAPIServer( ctx context.Context, runtimeClient client.Client, runtimeNamespace string, kubeAPIServer kubeapiserver.Interface, apiServerConfig *gardencorev1beta1.KubeAPIServerConfig, serverCertificateConfig kubeapiserver.ServerCertificateConfig, sniConfig kubeapiserver.SNIConfig, externalHostname string, externalServer string, etcdEncryptionKeyRotationPhase gardencorev1beta1.CredentialsRotationPhase, serviceAccountKeyRotationPhase gardencorev1beta1.CredentialsRotationPhase, wantScaleDown bool, ) error
DeployKubeAPIServer deploys the Kubernetes API server.
func GetIstioNamespaceForZone ¶ added in v1.70.0
GetIstioNamespaceForZone returns the namespace to use for a given zone. In case the zone name is too long the first five characters of the hash of the zone are used as zone identifiers.
func GetIstioZoneLabels ¶ added in v1.70.0
GetIstioZoneLabels returns the labels to be used for istio with the mandatory zone label set.
func IsZonalIstioExtension ¶ added in v1.70.0
IsZonalIstioExtension indicates whether the namespace related to the given labels is a zonal istio extension. It also returns the zone.
func NewEtcdDruid ¶
func NewEtcdDruid( c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, imageVector imagevector.ImageVector, imageVectorOverwrites map[string]string, etcdConfig *config.ETCDConfig, priorityClassName string, ) ( component.DeployWaiter, error, )
NewEtcdDruid instantiates a new `etcd-druid` component.
func NewGardenerResourceManager ¶
func NewGardenerResourceManager( c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, imageVector imagevector.ImageVector, secretsManager secretsmanager.Interface, logLevel, logFormat string, secretNameServerCA string, priorityClassName string, defaultSeccompProfileEnabled bool, endpointSliceHintsEnabled bool, fullNetworkPoliciesEnabled bool, networkPolicyControllerIncludesGardenNamespace bool, networkPolicyControllerIngressControllerSelector *resourcemanagerv1alpha1.IngressControllerSelector, zones []string, ) ( component.DeployWaiter, error, )
NewGardenerResourceManager instantiates a new `gardener-resource-manager` component.
func NewHVPA ¶
func NewHVPA( c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, imageVector imagevector.ImageVector, enabled bool, priorityClassName string, ) ( deployer component.DeployWaiter, err error, )
NewHVPA instantiates a new `hvpa-controller` component.
func NewIstio ¶ added in v1.70.0
func NewIstio( cl client.Client, imageVector imagevector.ImageVector, chartRenderer chartrenderer.Interface, namePrefix string, ingressNamespace string, priorityClassName string, istiodEnabled bool, labels map[string]string, lbAnnotations map[string]string, externalTrafficPolicy *corev1.ServiceExternalTrafficPolicyType, serviceExternalIP *string, servicePorts []corev1.ServicePort, proxyProtocolEnabled bool, vpnEnabled bool, zones []string, ) ( istio.Interface, error, )
NewIstio returns a deployer for Istio.
func NewKubeAPIServer ¶ added in v1.68.0
func NewKubeAPIServer( ctx context.Context, runtimeClientSet kubernetes.Interface, auditConfigClient client.Client, runtimeNamespace string, objectMeta metav1.ObjectMeta, runtimeVersion *semver.Version, targetVersion *semver.Version, imageVector imagevector.ImageVector, secretsManager secretsmanager.Interface, namePrefix string, apiServerConfig *gardencorev1beta1.KubeAPIServerConfig, autoscalingConfig kubeapiserver.AutoscalingConfig, serviceNetworkCIDR string, vpnConfig kubeapiserver.VPNConfig, priorityClassName string, isNodeless bool, staticTokenKubeconfigEnabled *bool, auditWebhookConfig *kubeapiserver.AuditWebhook, authenticationWebhookConfig *kubeapiserver.AuthenticationWebhook, authorizationWebhookConfig *kubeapiserver.AuthorizationWebhook, resourcesToStoreInETCDEvents []schema.GroupResource, ) ( kubeapiserver.Interface, error, )
NewKubeAPIServer returns a deployer for the kube-apiserver.
func NewKubeStateMetrics ¶ added in v1.70.0
func NewKubeStateMetrics( c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, imageVector imagevector.ImageVector, priorityClassName string, ) ( component.DeployWaiter, error, )
NewKubeStateMetrics instantiates a new `kube-state-metrics` component.
func NewVerticalPodAutoscaler ¶
func NewVerticalPodAutoscaler( c client.Client, gardenNamespaceName string, runtimeVersion *semver.Version, imageVector imagevector.ImageVector, secretsManager secretsmanager.Interface, enabled bool, secretNameServerCA string, priorityClassNameAdmissionController string, priorityClassNameRecommender string, priorityClassNameUpdater string, ) ( component.DeployWaiter, error, )
NewVerticalPodAutoscaler instantiates a new `vertical-pod-autoscaler` component.
func SnapshotEtcd ¶ added in v1.68.0
func SnapshotEtcd(ctx context.Context, secretsManager secretsmanager.Interface, etcdMain etcd.Interface) error
SnapshotEtcd performs a full snapshot on ETCD main.
Types ¶
This section is empty.