SESSION6 - Real Time Monitoring - 1
SESSION6 - Real Time Monitoring - 1
My
channel needs 70 more to hit 7K subscribers
By Praveen Singampalli
Saturday (16-07-2022)
4-6 PM
– SINGAM4DEVOPS
Kubernetes Architecture:
A Kubernetes cluster
consists of a set of worker
machines, called nodes,
that run containerized
applications. Every cluster
has at least one worker
node.
The worker node(s) host
the Pods that are the
components of the
application workload.
The control pane manages
the worker nodes and the
Pods in the cluster.
Grafana Installation
https://packages.grafana.com/
Step 1 grafana-enterprise
enterprise/rpm
Step 3 - Step 6 -
[grafana] name=grafana sudo service grafana-server start sudo service grafana-server
baseurl=https://packages.grafana.com/enterprise/rpm status Bash
repo_gpgcheck=1 enabled=1 gpgcheck=1 sudo /sbin/chkconfig --add grafana-server
gpgkey=https://packages.grafana.com/gpg.key sslverify=1 ./bin/grafana-server web
sslcacert=/etc/pki/tls/certs/ca-bundle.crt Bash
Step 2: https://prometheus.io/download/
https://github.com/prometheus/prometheus/releases/download/v2.37.0/p
rometheus-2.37.0.linux-amd64.tar.gz
• Step 3: Download the source using curl, untar it, and rename
the extracted folder to prometheus-files.
Step 3: Reload the systemd service to register the prometheus service and
start the prometheus service.
min(kube_pod_container_resource_limits_cpu_cores{namespace=~"$namespace", container!="istio-proxy"}) by
(namespace, pod, container)
container_cpu_usage_bytes{namespace="memory-testing", pod=~"ubuntu.*"}