You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking of creating a project using kor as a go library, the goal is an agent running inside the kubernetes cluster and periodically logging unused resources and exporting metrics, for this to be possible the conventional method is to create a clientset using the service account that the pod uses.
(rest.InClusterConfig() uses the mounted SA inside the pod)
currently kor passes kubeconfig to the functions instead of the clientset (that could be created from an SA) so you can't use the kor library without a kubeconfig inside of the pod.
The text was updated successfully, but these errors were encountered:
I was thinking of creating a project using kor as a go library, the goal is an agent running inside the kubernetes cluster and periodically logging unused resources and exporting metrics, for this to be possible the conventional method is to create a clientset using the service account that the pod uses.
(rest.InClusterConfig() uses the mounted SA inside the pod)
currently kor passes kubeconfig to the functions instead of the clientset (that could be created from an SA) so you can't use the kor library without a kubeconfig inside of the pod.
The text was updated successfully, but these errors were encountered: