vpa

package
v1.30.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName is the name of this admission plugin.
	PluginName = "ShootVPAEnabledByDefault"
)

Variables

This section is empty.

Functions

func New

New creates a new ShootVPA admission plugin.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type ShootVPA

type ShootVPA struct {
	*admission.Handler
}

ShootVPA contains required information to process admission requests.

func (*ShootVPA) Admit

Admit defaults spec.kubernetes.verticalPodAutoscaler.enabled=true for new shoot clusters.

Jump to

Keyboard shortcuts

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