Scrape DO kubernetes cluster from a Prometheus droplet outside the cluster

I have a kubernetes cluster made by 2 nodes with many services inside. I also have a running prometheus+grafana droplet. This droplet is not in the kubernetes cluster. Both Prometheus and the kubernetes cluster lives in the same default-VPC. Is there any way for my external prometheus to scrape the kubernetes cluster to get some metrics?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!