It's said in description
Generally kube-state-metrics
runs a Deployment
and is accessible via a service called kube-state-metrics
on kube-system
namespace, which will be the service to use in our configuration.
But when you push button Add Kubernetes integration u see settings
address - kube-state-metrics:8080
Is it expected that elastic stack should be deployed in kube-system namespace or what ?
and btw what is Bearer Token File /var/run/secrets/kubernetes.io/serviceaccount/token
will it be created during deploying agents or is it expected to exist in classical k8s ?
I do not have such file in my rke2 cluster