#---
#apiVersion: operator.victoriametrics.com/v1beta1
#kind: VMNodeScrape
#metadata:
#  name: kube-etcd
#  namespace: cozy-monitoring
#spec: 
#  selector:
#    node-role.kubernetes.io/control-plane: ""
#  bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
#  honorLabels: true
#  metricRelabelConfigs:
#  - action: labeldrop
#    regex: (uid)
#  - action: labeldrop
#    regex: (id|name)
#  - action: drop
#    regex: (rest_client_request_duration_seconds_bucket|rest_client_request_duration_seconds_sum|rest_client_request_duration_seconds_count)
#    source_labels:
#    - __name__
#  port: "2379"
#  relabelConfigs:
#  - action: labelmap
#    regex: __meta_kubernetes_node_label_(.+)
#  - sourceLabels:
#    - __metrics_path__
#    targetLabel: metrics_path
#  - replacement: etcd
#    targetLabel: job
#  scheme: https
#  scrapeTimeout: 5s
#  tlsConfig:
#    caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
#    insecureSkipVerify: true
