services.prometheus.scrapeConfigs.*.kubernetes_sd_configs.*.kubeconfig_file

NixOS option

Optional path to a kubeconfig file. Note that api_server and kube_config are mutually exclusive.

type: null or string
Default
null
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →