scrape_configs: - job_name: prometheus kubernetes_sd_configs: - role: endpoints kubeconfig_file: /home/User1/.kubeconfig namespaces: own_namespace: true