Untitled

 avatar
unknown
plain_text
a month ago
489 B
4
Indexable
apiVersion: v1
kind: ConfigMap
metadata:
  name: prometheus-server
  namespace: monitoring
data:
  prometheus.yml: |
    global:
      scrape_interval: 15s

    scrape_configs:
      - job_name: 'k3s'
        scheme: https
        tls_config:
          insecure_skip_verify: true
        static_configs:
          - targets: ['localhost:6443']

      - job_name: 'kubelet'
        metrics_path: /metrics
        static_configs:
          - targets: ['node-ip:10250']
Editor is loading...
Leave a Comment