Documentation ¶
Index ¶
- Constants
- func Bootstrap(c client.Client, seedAdmissionControllerNamespace string, ...) (component.DeployWaiter, error)
- func GetMutatingWebhookConfig(clientConfig admissionregistrationv1.WebhookClientConfig) *admissionregistrationv1.MutatingWebhookConfiguration
- func New(client client.Client, namespace string, image *imagevector.Image, ...) (component.DeployWaiter, error)
Constants ¶
View Source
const (
// Name is the name of kubernetes resources associated with gardener-kube-scheduler.
Name = "gardener-kube-scheduler"
)
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap( c client.Client, seedAdmissionControllerNamespace string, image *imagevector.Image, seedVersion *semver.Version, ) ( component.DeployWaiter, error, )
Bootstrap is used to bootstrap gardener-kube-scheduler in Seed clusters.
func GetMutatingWebhookConfig ¶ added in v1.27.0
func GetMutatingWebhookConfig(clientConfig admissionregistrationv1.WebhookClientConfig) *admissionregistrationv1.MutatingWebhookConfiguration
GetMutatingWebhookConfig returns the MutatingWebhookConfiguration for the seedadmissioncontroller component for reuse between the component and integration tests.
func New ¶
func New( client client.Client, namespace string, image *imagevector.Image, config configurator.Configurator, webhookClientConfig *admissionregistrationv1.WebhookClientConfig, ) ( component.DeployWaiter, error, )
New creates a new instance of DeployWaiter for the kube-scheduler. It requires Seed cluster with version 1.18 or 1.19.
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package configurator contains the Configurator interface It is a separate package to avoid dependency cycle.
|
Package configurator contains the Configurator interface It is a separate package to avoid dependency cycle. |
Package v18 a kube-scheduler specific configuration for 1.18 Kubernetes version.
|
Package v18 a kube-scheduler specific configuration for 1.18 Kubernetes version. |
Package v19 a kube-scheduler specific configuration for 1.19 Kubernetes version.
|
Package v19 a kube-scheduler specific configuration for 1.19 Kubernetes version. |
Package v20 a kube-scheduler specific configuration for 1.20 Kubernetes version.
|
Package v20 a kube-scheduler specific configuration for 1.20 Kubernetes version. |
Click to show internal directories.
Click to hide internal directories.