fancy-jackal-96583
06/14/2022, 3:40 PMgray-lawyer-73831
06/14/2022, 3:51 PMkubectl version
, k3s -v
, or kubectl get nodes
are probably the best way to show the version. But it is most likely 1.23 yes. 1.24 isn’t marked as stable yetfancy-jackal-96583
06/14/2022, 8:45 PMgray-lawyer-73831
06/14/2022, 9:10 PMhttp
not https
, and I believe only https is allowed now. See https://github.com/k3s-io/k3s/issues/3619#issuecomment-973188304 which might guide you in the right direction to scrape the correct scheme nowfancy-jackal-96583
06/14/2022, 9:49 PMgray-lawyer-73831
06/15/2022, 4:27 PMfancy-jackal-96583
06/15/2022, 8:05 PMgray-lawyer-73831
06/15/2022, 8:25 PMfancy-jackal-96583
06/15/2022, 8:26 PMgray-lawyer-73831
06/15/2022, 8:29 PMfancy-jackal-96583
06/15/2022, 8:32 PMgray-lawyer-73831
06/15/2022, 8:39 PMmanifests/setup
and manifests
if there’s any files for prometheus with some of this data.
Also, I suspect the endpoints section in that data isn’t necessary, but I’m not an expert with prometheus so I’m not 100% certain about thatfancy-jackal-96583
06/15/2022, 8:41 PMgray-lawyer-73831
06/15/2022, 9:16 PMprometheus-kubeControllerManager
and prometheus-kubeScheduler
fancy-jackal-96583
06/15/2022, 9:21 PMgray-lawyer-73831
06/15/2022, 9:22 PMfancy-jackal-96583
06/15/2022, 9:22 PMgray-lawyer-73831
06/15/2022, 9:23 PMfancy-jackal-96583
06/15/2022, 11:17 PMgray-lawyer-73831
06/15/2022, 11:18 PMfancy-jackal-96583
06/16/2022, 10:15 AMgray-lawyer-73831
06/16/2022, 9:16 PMprometheus-kubeControllerManagerPrometheusDiscoveryService.yaml
contina?fancy-jackal-96583
06/16/2022, 9:18 PMgray-lawyer-73831
06/16/2022, 9:21 PMprometheus-serviceMonitorKubeControllerManager.yaml
?fancy-jackal-96583
06/16/2022, 9:24 PMgray-lawyer-73831
06/16/2022, 9:24 PMfancy-jackal-96583
06/16/2022, 9:25 PMgray-lawyer-73831
06/16/2022, 9:27 PMfancy-jackal-96583
06/16/2022, 9:29 PMgray-lawyer-73831
06/16/2022, 9:29 PMprometheus-kubeControllerManagerPrometheusDiscoveryService.yaml
to both use 10257
? Probably put back whatever the other changes you made to these files as well. I think just updating those ports to be 10257 should work. Also update the ports in prometheus-kubeSchedulerPrometheusDiscoveryService.yaml
to be 10259
10251
currentlyfancy-jackal-96583
06/16/2022, 9:35 PMgray-lawyer-73831
06/16/2022, 9:36 PMkubectl apply -f <file_name>
them toofancy-jackal-96583
06/16/2022, 9:40 PMgray-lawyer-73831
06/16/2022, 9:42 PMkubectl describe -n monitoring pod/prometheus-k8s-0
fancy-jackal-96583
06/16/2022, 9:43 PMgray-lawyer-73831
06/16/2022, 9:44 PMfancy-jackal-96583
06/16/2022, 9:44 PMgray-lawyer-73831
06/16/2022, 9:46 PMfancy-jackal-96583
06/17/2022, 9:30 AMkubectl delete -n monitoring pod/prometheus-k8s-0