Category : cadvisor

I am new to kubernetes. I want to get container metrics from all the nodes present in kubernetes cluster. I have deployed cAdvisor as daemonset on the cluster. Below is the yaml file. cAdvisor daemonset yaml file for kubernetes: apiVersion: apps/v1 # for versions before 1.8.0 use extensions/v1beta1 [apps/v1beta2] kind: DaemonSet metadata: name: cadvisor namespace: ..

Read more

I am new to kubernetes. I want to get container metrics from all the cAdvisor pods present in kubernetes cluster. I have deployed cAdvisor as daemonset on the cluster. Below is the yaml file. cAdvisor daemonset yaml file for kubernetes: apiVersion: apps/v1 # for versions before 1.8.0 use extensions/v1beta1 [apps/v1beta2] kind: DaemonSet metadata: name: cadvisor ..

Read more

I get from google search that, if you use Kubernettes, you can do this: – job_name: kubernetes-node-exporter kubernetes_sd_configs: – role: node relabel_configs: # Host name – source_labels: [__meta_kubernetes_node_name] target_label: instance But I use docker swarm, so I’d like to expose __meta_hostname, so I can do this: – job_name: docker-swarm-node-exporter relabel_configs: # Host name – source_labels: ..

Read more

I am using the cadvisor to collect the container health data.Here, I am using the below command to run the cadvisor: sudo docker run –volume=/:/rootfs:ro –volume=/var/run:/var/run:ro –volume=/sys:/sys:ro — volume=/var/lib/docker/:/var/lib/docker:ro –volume=/dev/disk/:/dev/disk:ro –publish=8080:8080 –detach=true — name=cadvisor google/cadvisor:latest But, the issue is I am getting the CPU and memory related data but it is faillig to collect the ..

Read more

I am using the cadvisor to collect the container health data.Here, I am using the below command to run the cadvisor: sudo docker run –volume=/:/rootfs:ro –volume=/var/run:/var/run:ro –volume=/sys:/sys:ro –volume=/var/lib/docker/:/var/lib/docker:ro –volume=/dev/disk/:/dev/disk:ro –publish=8080:8080 –detach=true –name=cadvisor google/cadvisor:latest I am getting the CPU and memory related data but it is faillig to collect the state of the process running inside ..

Read more