mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-10-04 07:58:38 +00:00
7efe99f13900db306e6f10abcd9dc7e8fbc78485
Since collectd is started before the pods are launched and shutdown after the last pod is launched, we gather data outside the pod launch window which can adversely influence the per pod launch stats. This is especially true after the last pod launches as all the pods are then deleted before collectd stops collecting metrics. This patch isolates the collectd data used to only coincide with the pod launch window. And additional change in this patch is to improve the secondary y axis scaling. There was an ill-advised check in previously to force the scale to be at least 1. This does not work well when the pod number is significantly higher than say 100 (the max possible cpu idle value). This patch changes the scaling to be across all data to be graphed. The special condition for interface drops and interface errors, where the data is typically 0. We don't scale by 0. Signed-off-by: David Lyle <dklyle0@gmail.com>
Cloud Native Setup
Automation around setting up the cloud-native content (Kubernetes) on Clear Linux.
Folder Structure
- clr-k8s-examples: script tools to deploy a Kubernetes cluster
- metrics: tools to aid in measuring the scaling capabilities of Kubernetes clusters.
Languages
Shell
65.1%
R
32.5%
Dockerfile
1.9%
Smarty
0.4%
Makefile
0.1%