@@ -8,33 +8,11 @@ A Helm chart for the Kubernetes bundle of Flanksource Mission Control
88| -----| ------| ---------| -------------|
99| clusterName | string | ` "" ` | |
1010| kubeconfig | object | ` {} ` | |
11- | kubernetesConnection.cnrm.clusterResource | string | ` "" ` | |
12- | kubernetesConnection.cnrm.clusterResourceNamespace | string | ` "" ` | |
13- | kubernetesConnection.cnrm.gke.cluster | string | ` "" ` | |
14- | kubernetesConnection.cnrm.gke.connection | string | ` "" ` | |
15- | kubernetesConnection.cnrm.gke.credentials | object | ` {} ` | |
16- | kubernetesConnection.cnrm.gke.endpoint | string | ` "" ` | |
17- | kubernetesConnection.cnrm.gke.projectID | string | ` "" ` | |
18- | kubernetesConnection.cnrm.gke.skipTLSVerify | bool | ` false ` | |
19- | kubernetesConnection.cnrm.gke.zone | string | ` "" ` | |
11+ | kubernetesConnection.cnrm | string | ` nil ` | |
2012| kubernetesConnection.connection | string | ` "" ` | |
21- | kubernetesConnection.eks.accessKey | object | ` {} ` | |
22- | kubernetesConnection.eks.assumeRole | string | ` "" ` | |
23- | kubernetesConnection.eks.cluster | string | ` "" ` | |
24- | kubernetesConnection.eks.connection | string | ` "" ` | |
25- | kubernetesConnection.eks.endpoint | string | ` "" ` | |
26- | kubernetesConnection.eks.region | string | ` "" ` | |
27- | kubernetesConnection.eks.secretKey | object | ` {} ` | |
28- | kubernetesConnection.eks.sessionToken | object | ` {} ` | |
29- | kubernetesConnection.eks.skipTLSVerify | bool | ` false ` | |
30- | kubernetesConnection.gke.cluster | string | ` "" ` | |
31- | kubernetesConnection.gke.connection | string | ` "" ` | |
32- | kubernetesConnection.gke.credentials | object | ` {} ` | |
33- | kubernetesConnection.gke.endpoint | string | ` "" ` | |
34- | kubernetesConnection.gke.projectID | string | ` "" ` | |
35- | kubernetesConnection.gke.skipTLSVerify | bool | ` false ` | |
36- | kubernetesConnection.gke.zone | string | ` "" ` | |
37- | kubernetesConnection.kubeconfig | object | ` {} ` | |
13+ | kubernetesConnection.eks | string | ` nil ` | |
14+ | kubernetesConnection.gke | string | ` nil ` | |
15+ | kubernetesConnection.kubeconfig | string | ` nil ` | |
3816| labels | object | ` {} ` | |
3917| metrics.enabled | bool | ` true ` | |
4018| metrics.queries | object | `{"gke":{"cluster_cpu":"1000 * sum(rate(kubernetes_io:container_cpu_core_usage_time{container_name!=\"\",cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}[5m]))","cluster_max_cpu":"1000 * sum(kubernetes_io:container_cpu_limit_cores{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}})","cluster_max_memory":"sum(kubernetes_io:container_memory_limit_bytes{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}})","cluster_memory":"sum(kubernetes_io:container_memory_used_bytes{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}})","cluster_name":"","namespace_cpu":"sum(rate(label_replace(kubernetes_io:container_cpu_core_usage_time{container_name!=\"\",cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"namespace\",\"$1\",\"namespace_name\", \"(.+)\")[5m])) by (namespace)","namespace_memory":"sum(label_replace(kubernetes_io:container_memory_used_bytes{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"namespace\",\"$1\",\"namespace_name\", \"(.+)\")) by (namespace)","node_cpu":"sum(rate(label_replace(kubernetes_io:node_cpu_core_usage_time{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"node\",\"$1\",\"node_name\", \"(.+)\")[5m:])) by (node)","node_memory":"sum(label_replace(kubernetes_io:container_memory_used_bytes{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"node\",\"$1\",\"node_name\", \"(.+)\")) by (node)","node_storage":"sum(label_replace(kubernetes_io:node_ephemeral_storage_used_bytes{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"node\",\"$1\",\"node_name\", \"(.+)\")) by (node)","pod_cpu":"sum(rate(label_replace(kubernetes_io:container_cpu_core_usage_time{container_name!=\"\",cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"pod\",\"$1\",\"pod_name\", \"(.+)\")[5m:])) by (pod)","pod_memory":"sum(label_replace(kubernetes_io:container_memory_used_bytes{cluster_name=\"{{.Values.metrics.queries.gke.cluster_name}}\"{{.Values.prometheus.labels}}}, \"pod\",\"$1\",\"pod_name\", \"(.+)\")) by (pod)"},"prometheus":{"cluster_cpu":"1000 * sum(rate(container_cpu_usage_seconds_total{container!=\"\"{{.Values.prometheus.labels}}}[5m]))","cluster_max_cpu":"1000 * sum(kube_pod_container_resource_limits{resource=\"cpu\"{{.Values.prometheus.labels}}})","cluster_max_memory":"sum(kube_pod_container_resource_limits{resource=\"memory\"{{.Values.prometheus.labels}}})","cluster_memory":"sum(container_memory_working_set_bytes{container!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}})","namespace_cpu":"1000 * sum(rate(container_cpu_usage_seconds_total{container!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}}[5m])) by (namespace)","namespace_memory":"sum(container_memory_working_set_bytes{container!=\"\",pod!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}} * on(pod, namespace) group_left kube_pod_status_phase{phase=\"Running\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}} > 0) by (namespace)","node_cpu":"1000 * sum(rate(container_cpu_usage_seconds_total{container!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}}[5m])) by (node)","node_memory":"sum(container_memory_working_set_bytes{container!=\"\",pod!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}} * on(pod, namespace) group_left kube_pod_status_phase{phase=\"Running\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}} > 0) by (node)","node_storage":"max by (instance) (avg_over_time(node_filesystem_avail_bytes{mountpoint=\"/\",fstype!=\"rootfs\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}}[5m]))","pod_cpu":"1000 * sum(rate(container_cpu_usage_seconds_total{container!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}}[5m])) by (pod)","pod_memory":"sum(container_memory_working_set_bytes{container!=\"\"{{.Values.prometheus.labels | default .Values.prometheusLabels}}}) by (pod)"}}` | queries to retrieve cpu/memory metrics for cluster/node/pod |
@@ -174,6 +152,13 @@ A Helm chart for the Kubernetes bundle of Flanksource Mission Control
174152| topology.ingress.nameExpr | string | ` "r.config.spec.rules.size() > 0 ? r.config.spec.rules[0].host : r.name" ` | |
175153| topology.name | string | ` "{{ .Values.clusterName }}" ` | |
176154| topology.schedule | string | ` "@every 5m" ` | |
155+ | views.cluster.enabled | bool | ` true ` | |
156+ | views.cluster.sidebar | bool | ` true ` | |
157+ | views.enabled | bool | ` true ` | |
158+ | views.helm_releases.enabled | bool | ` true ` | |
159+ | views.helm_releases.sidebar | bool | ` true ` | |
160+ | views.pods.enabled | bool | ` true ` | if true, the view will be enabled A prometheus connection is required. |
161+ | views.pods.sidebar | bool | ` true ` | |
177162
178163## Maintainers
179164
0 commit comments