Kubernetes Aggregated Container Stats


Kubernetes Aggregated Container Stats by Namespace and Container
Last updated: 2 years ago

Downloads: 358

Reviews: 0

    This dashboard gives you a helpful starting point if you are using Telegraf to monitor your Kubernetes infrastructure with the DaemonSet pattern. You can find more information about this pattern in the InfluxData Helm Charts. Questions or comments, please let me know.

    Collector Configuration Details

    Technically you only need the Kubernetes input, but the following plugins are useful in general.

          percpu = true
          totalcpu = true
          collect_cpu_time = false
          report_active = false
          ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
          url = "http://$HOSTNAME:10255"
          bearer_token = "/var/run/secrets/kubernetes.io/serviceaccount/token"
          insecure_skip_verify = true

    If you are using the TICK charts for deploying this, you can add these to your values.yaml file:

        - cpu:
            percpu: true
            totalcpu: true
            collect_cpu_time: false
        - disk:
              - "tmpfs"
              - "devtmpfs"
        - diskio:
        - kernel:
        - mem:
        - processes:
        - swap:
        - system:
        - kubernetes:
            url: "http://$HOSTIP:10255"
            bearer_token: "/var/run/secrets/kubernetes.io/serviceaccount/token"
            insecure_skip_verify: true
        - docker:
            endpoint: "unix:///var/run/docker.sock"
            timeout: "5s"
            perdevice: true
            total: false
              - "annotation.kubernetes.io/*"