6 votes
Accepted

Where does k3s store it's "/var/lib/kubelet/config.yaml" file?

/etc/rancher/k3s/config.yaml Note, /etc/rancher/k3s/config.yaml not /etc/rancher/k3s/k3s.yaml! You may have to create the file if it doesn't exist. K3s doesn't have a dedicated kubelet service. It's ...
Evan Carroll's user avatar
  • 2,089
1 vote

Prometheus scrape config for kubelet node role not auth'ing

You need to send bearer token as well, like this: - job_name: 'kubelet' kubernetes_sd_configs: - role: node scheme: https tls_config: ca_file: /var/run/...
Shanmuga Raj's user avatar
1 vote
Accepted

k3s: Eviction manager: attempting to reclaim" resourceName="ephemeral-storage

This is because of the default settings for the eviction manager (currently 5% hard, and 10% minimum for image reclaim) safeguard a new pod exhausting the space on your hard disk, and the metrics are ...
Evan Carroll's user avatar
  • 2,089

Only top scored, non community-wiki answers of a minimum length are eligible