kubeletconfig

package
v1.32.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentKubeletConfig added in v1.28.0

func GetCurrentKubeletConfig(ctx context.Context, nodeName, namespace string, useProxy bool, standaloneMode bool) (*kubeletconfig.KubeletConfiguration, error)

GetCurrentKubeletConfig fetches the current Kubelet Config for the given node

func GetCurrentKubeletConfigFromFile

func GetCurrentKubeletConfigFromFile() (*kubeletconfig.KubeletConfiguration, error)

GetCurrentKubeletConfigFromFile returns the current kubelet configuration under the filesystem. This method should only run together with e2e node tests, meaning the test executor and the cluster nodes is the same machine

func WriteKubeletConfigFile

func WriteKubeletConfigFile(kubeletConfig *kubeletconfig.KubeletConfiguration) error

WriteKubeletConfigFile updates the kubelet configuration under the filesystem This method should only run together with e2e node tests, meaning the test executor and the cluster nodes is the same machine

Types

This section is empty.

Jump to

Keyboard shortcuts

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