Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminClientset ¶
AdminClientset returns a client-go clientset constructed from the AKS cluster admin kubeconfig fetched via the Azure management plane.
func InvalidateKubeletClientset ¶
func InvalidateKubeletClientset()
InvalidateKubeletClientset clears the cached kubelet clientset.
This is useful if the kubelet kubeconfig on disk has rotated (cert renewal, bootstrap regeneration, etc.) and callers want subsequent operations to pick up the new credentials.
It is safe to call concurrently.
func KubeletClientset ¶
func KubeletClientset() (*kubernetes.Clientset, error)
KubeletClientset returns a cached client-go clientset constructed from the local kubelet kubeconfig (config.KubeletKubeconfigPath).
This is safe to share across status collection and drift remediation within the same agent process.
Types ¶
This section is empty.