podschedulername

package
v1.37.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GardenerShootControlPlaneSchedulerName is the name of the scheduler used for
	// shoot control plane pods.
	GardenerShootControlPlaneSchedulerName = "gardener-shoot-controlplane-scheduler"

	// WebhookPath is the HTTP handler path for this admission webhook handler.
	// Note: In the future we might want to have additional scheduler names
	// so lets have the handler be of pattern "/webhooks/default-pod-scheduler-name/{scheduler-name}"
	WebhookPath = "/webhooks/default-pod-scheduler-name/" + GardenerShootControlPlaneSchedulerName
)

Variables

This section is empty.

Functions

func DefaultShootControlPlanePodsSchedulerName

func DefaultShootControlPlanePodsSchedulerName(_ context.Context, request admission.Request) admission.Response

DefaultShootControlPlanePodsSchedulerName is a webhook handler that sets "gardener-shoot-controlplane-scheduler" as schedulerName on shoot control plane Pods.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL