This message was deleted.
# k3s
a
This message was deleted.
c
metrics-server aggregates metrics for pods and nodes. Those are usually used by
kubectl top
and autoscaling. If you want apiserver metrics into a tool like prometheus, you would want to scrape those from the apiserver itself.
l
Is that something enabled by default in k3s? Where are they exposed? Or do I need to install something else?
I've got kube-state-metrics, which gives me metrics on everything within k3s, but yeah I want the apiserver itself
(I think 😛 )
c
they’re where they always are, on the apiserver port at /metrics
I’m not sure what you mean by “everything within k3s” - the apiserver is part of that. it is literally in the k3s server process.
l
I mean objects managed by k3s: pods, deployments, etc
Found it, thanks @creamy-pencil-82913