mutating

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeClassNameDefault      = "kata-remote"
	PodVMExtendedResourceDefault = "kata.peerpods.io/vm"
	PeerPodsCPUAnnotation        = "io.katacontainers.config.hypervisor.default_vcpus"
	PeerPodsMemoryAnnotation     = "io.katacontainers.config.hypervisor.default_memory"
	GPUResourceName              = "nvidia.com/gpu"
	PeerPodsGPUAnnotation        = "io.katacontainers.config.hypervisor.default_gpus"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PodMutator

type PodMutator struct {
	Client  client.Client
	Decoder admission.Decoder
}

podMutator mutates Pods

func (*PodMutator) Handle

podMutator adds peer-pod extended resource to the pod spec add removes all other resource specs

Jump to

Keyboard shortcuts

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