--- - name: register exporter copy: content: | location = /standalone-kubelet { proxy_pass https://{{ kubernetes_standalone_address | default('127.0.0.1') }}:{{ kubernetes_standalone_port | default(10250) }}/metrics; proxy_ssl_certificate /etc/ssl/standalone-kubelet/client/crt.pem; proxy_ssl_certificate_key /etc/ssl/standalone-kubelet/client/key.pem; } dest: /etc/prometheus/exporter/standalone-kubelet.locations notify: reload nginx