hello, I need a help with the metrics server for my k3s cluster. the issue is I cant get the pods metrics but able to get metrics of the node.
i tried everything , editing the yaml file and putting the - --kubelet-insecure-tls but no luck.
please help me
C:\Users\DELL\Desktop\Coconut-Peat-Supply-chain_core_system> kubectl top pod -n default core-system-b87559449-tw5mq
Error from server (NotFound):
podmetrics.metrics.k8s.io "default/core-system-b87559449-tw5mq" not found
PS C:\Users\DELL\Desktop\Coconut-Peat-Supply-chain_core_system> kubectl top pod -A
error: Metrics not available for pod default/core-system-b87559449-tw5mq, age: 7h8m12.9991759s
PS C:\Users\DELL\Desktop\Coconut-Peat-Supply-chain_core_system> kubectl top nodes
NAME CPU(cores) CPU% MEMORY(bytes) MEMORY%
harith-vithanage-main 1204m 10% 2677Mi 34%