kubernetesk8s.io/kubernetes/test/e2e_node/kubeletconfig Index | Files

package kubeletconfig

import "k8s.io/kubernetes/test/e2e_node/kubeletconfig"

Index

Functions

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.24.7
Published
Oct 12, 2022
Platform
linux/amd64
Imports
8 packages
Last checked
13 minutes ago

Tools for package owners.