package kubeletconfig
import "k8s.io/kubernetes/test/e2e_node/kubeletconfig"
Index ¶
- func GetCurrentKubeletConfig(ctx context.Context, nodeName, namespace string, useProxy bool, standaloneMode bool) (*kubeletconfig.KubeletConfiguration, error)
- func GetCurrentKubeletConfigFromFile() (*kubeletconfig.KubeletConfiguration, error)
- func WriteKubeletConfigFile(kubeletConfig *kubeletconfig.KubeletConfiguration) error
Functions ¶
func GetCurrentKubeletConfig ¶
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
Source Files ¶
kubeletconfig.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 3 hours ago –
Tools for package owners.