uhthomas / automata

Monorepo for Starjunk and subsidiaries
32 stars 2 forks source link

feat: monitor etcd #198

Open uhthomas opened 1 year ago

uhthomas commented 1 year ago

It looks like etcd does not run in-cluster with Talos, and therefore is not easy to monitor.

uhthomas commented 1 year ago
name: "vm-victoria-metrics-k8s-stack-kube-etcd"
spec: {
    selector: matchLabels: {
        app:                          "vm-victoria-metrics-k8s-stack-kube-etcd"
        "app.kubernetes.io/instance": "vm"
    }
    namespaceSelector: matchNames: [
        "kube-system",
    ]
    endpoints: [{
        bearerTokenFile: "/var/run/secrets/kubernetes.io/serviceaccount/token"
        port:            "http-metrics"
        scheme:          "https"
        tlsConfig: caFile: "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
    }]
    jobLabel: "jobLabel"
}