objectupdate

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeRoleControlPlane           = "node-role.kubernetes.io/control-plane"
	NodeRoleControlPlaneDeprecated = "node-role.kubernetes.io/master"
)

Variables

This section is empty.

Functions

func FindContainerByName

func FindContainerByName(conts []corev1.Container, name string) *corev1.Container

func SetPodSchedulerAffinityOnControlPlane added in v0.14.0

func SetPodSchedulerAffinityOnControlPlane(podSpec *corev1.PodSpec)

Types

type DaemonSetOptions

type DaemonSetOptions struct {
	Verbose            int
	PullIfNotPresent   bool
	PFPEnable          bool
	NotificationEnable bool
	NodeSelector       *metav1.LabelSelector
	UpdateInterval     time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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