Documentation
¶
Index ¶
Constants ¶
View Source
const ( MinPodPidsLimit = 4096 MaxPodPidsLimit = 16384 MaxUnsafePodPidsLimit = 3694303 )
Variables ¶
This section is empty.
Functions ¶
func ConfirmWorkerNodeReboot ¶
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.
Click to show internal directories.
Click to hide internal directories.