You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content:
| # Prometheus configuration to scrape Kubernetes outside the cluster | |
| # Change master_ip and api_password to match your master server address and admin password | |
| global: | |
| scrape_interval: 15s | |
| evaluation_interval: 15s | |
| scrape_configs: | |
| # metrics for the prometheus server | |
| - job_name: 'prometheus' |
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content: