kubeletconfig

package
v1.0.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MinPodPidsLimit       = 4096
	MaxPodPidsLimit       = 16384
	MaxUnsafePodPidsLimit = 3694303
)

Variables

This section is empty.

Functions

func ConfirmWorkerNodeReboot

func ConfirmWorkerNodeReboot(verb string) (bool, error)

ConfirmWorkerNodeReboot prompts the user to confirm that they accept a worker node reboot before the operation proceeds. verb should be "Creating" or "Editing". Returns (true, nil) if the user confirms, (false, nil) if they decline, and (false, err) on a stdin read failure.

func ValidatePodPidsLimit

func ValidatePodPidsLimit(connection *sdk.Connection, requestedPids int) error

ValidatePodPidsLimit checks whether the requested pod-pids-limit is within the allowed range for the caller's organization. Values between MinPodPidsLimit and MaxPodPidsLimit are always accepted. Values above MaxPodPidsLimit require the organization to hold the bypass_pids_limits capability; if present the upper bound is relaxed to MaxUnsafePodPidsLimit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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