kubeletconfig

package
v1.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MinPodPidsLimit        int64 = 4096
	MaxPodPidsLimit        int64 = 16384
	MaxUnsafePidsLimit     int64 = 3694303
	PidsTooLowSummary            = "The requested podPidsLimit is too low"
	PidsTooHighSummary           = "The requested podPidsLimit is too high"
	PidsTooLowDescription        = "The requested podPidsLimit of '%d' is below the minimum allowable value of '%d'"
	PidsTooHighDescription       = "The requested podPidsLimit of '%d' is above the default maximum value of '%d', " +
		"and above the maximum supported value of '%d'"
	PidsTooHighWarningSummary     = "The requested podPidsLimit is possibly too high"
	PidsTooHighWarningDescription = "The requested podPidsLimit of '%d' is above the default maximum of '%d'. " +
		"This is not supported unless agreed with Red Hat in advance."
)

Variables

This section is empty.

Functions

func New

func New() resource.Resource

Types

type KubeletConfigResource

type KubeletConfigResource struct {
	// contains filtered or unexported fields
}

func (*KubeletConfigResource) Configure

func (*KubeletConfigResource) Create

func (*KubeletConfigResource) Delete

func (*KubeletConfigResource) ImportState

func (*KubeletConfigResource) Metadata

func (*KubeletConfigResource) Read

func (*KubeletConfigResource) Schema

func (*KubeletConfigResource) Update

type KubeletConfigState

type KubeletConfigState struct {
	Cluster      types.String `tfsdk:"cluster"`
	PodPidsLimit types.Int64  `tfsdk:"pod_pids_limit"`
}

type PidsLimitValidator

type PidsLimitValidator struct {
}

func (PidsLimitValidator) Description

func (p PidsLimitValidator) Description(_ context.Context) string

func (PidsLimitValidator) MarkdownDescription

func (p PidsLimitValidator) MarkdownDescription(_ context.Context) string

func (PidsLimitValidator) ValidateInt64

Jump to

Keyboard shortcuts

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