You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/mgmt-agent/README.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,34 @@ A Helm chart for collecting Kubernetes Metrics using OCI Management Agent into O
20
20
| kubernetesCluster.compartmentId | string |`nil`| OCI Compartment Id to push Kubernetes Monitoring metrics. If not specified default is same as Agent compartment |
21
21
| kubernetesCluster.name | string |`nil`| Kubernetes cluster name |
22
22
| kubernetesCluster.namespace | string |`"*"`| Kubernetes cluster namespace(s) to monitor. This can be a comma-separated list of namespaces or '*' to monitor all the namespaces |
23
+
| kubernetesCluster.monitoringNamespace | string |`nil`| OCI namespace to push Kubernetes Monitoring metrics. The namespace should match the pattern '^[a-z][a-z0-9_]*[a-z0-9]$'. By default metrics will be pushed to 'mgmtagent_kubernetes_metrics' |
24
+
| kubernetesCluster.overrideAllowMetricsAPIServer | string |`nil`| Provide the specific list of comma separated metric names for agent computed metrics to be collected. |
25
+
| kubernetesCluster.overrideAllowMetricsCluster | string |`nil`| Provide the specific list of comma separated metric names for agent computed metrics to be collected |
26
+
| kubernetesCluster.overrideAllowMetricsKubelet | string |`nil`| Provide the specific list of comma separated metric names for Kubelet (/api/v1/nodes/<node_name>/proxy/metrics) metrics to be collected |
27
+
| kubernetesCluster.overrideAllowMetricsNode | string |`nil`| Provide the specific list of comma separated metric names for Node (/api/v1/nodes/<node_name>/proxy/metrics/resource, /api/v1/nodes/<node_name>/proxy/metrics/cadvisor) metrics to be collected |
23
28
| mgmtagent.image.secret | string |`nil`| Image secrets to use for pulling container image (base64 encoded content of ~/.docker/config.json file) |
24
29
| mgmtagent.image.url | string |`nil`| Replace this value with actual docker image URL for Management Agent |
25
30
| mgmtagent.installKey | string |`"resources/input.rsp"`| Copy the downloaded Management Agent Install Key file under root helm directory as resources/input.rsp |
26
-
| mgmtagent.installKeyFileContent | string |`nil`| Provide the base64 encoded content of the Management Agent Install Key file |
31
+
| mgmtagent.installKeyFileContent | string |`nil`| Provide the base64 encoded content of the Management Agent Install Key file (e.g. `cat input.rsp \| base64 -w 0`) |
27
32
| namespace | string |`"{{ .Values.global.namespace }}"`| Kubernetes namespace to create and install this helm chart in |
28
33
| oci-onm-common.createNamespace | bool |`true`| If createNamespace is set to true, it tries to create the namespace defined in 'namespace' variable. |
29
34
| oci-onm-common.createServiceAccount | bool |`true`| By default, a cluster role, cluster role binding and serviceaccount will be created for the monitoring pods to be able to (readonly) access various objects within the cluster, to support collection of various telemetry data. You may set this to false and provide your own serviceaccount (in the parent chart(s)) which has the necessary cluster role(s) binded to it. Refer, README for the cluster role definition and other details. |
30
35
| oci-onm-common.namespace | string |`"{{ .Values.global.namespace }}"`| Kubernetes Namespace in which the serviceaccount to be created. |
31
36
| oci-onm-common.resourceNamePrefix | string |`"{{ .Values.global.resourceNamePrefix }}"`| Prefix to be attached to resources created through this chart. Not all resources may have this prefix. |
32
37
| oci-onm-common.serviceAccount | string |`"{{ .Values.global.resourceNamePrefix }}"`| Name of the Kubernetes ServiceAccount |
33
38
| serviceAccount | string |`"{{ .Values.global.resourceNamePrefix }}"`| Name of the Kubernetes ServiceAccount |
39
+
| deployment.security.runAsUser | integer |`1000`| Processes in the Container will use the specified user ID |
40
+
| deployment.security.runAsGroup | integer |`2000`| Processes in the Container will use the specified group ID |
41
+
| deployment.security.fsGroup | integer |`2000`| Files created in the Container will use the specified group ID |
42
+
| deployment.cleanupEpochTime | integer |`nil`| Please provide the current epoch time in seconds (Eg: Executing the following command in a bash shell will provide the epoch time: "date +%s") to clean up the agent installation directory from previous deployment |
43
+
| deployment.daemonSetDeployment | bool |`false`| Setting the daemonset deployment to true, will deploy the Management Agents as a daemonset in addition to deploying the Management Agent as a statefulset. This is done to to distribute the node metrics collection to agents running on the node |
44
+
| deployment.daemonSet.hostPath | string |`nil`| The host path to store data, if Agent is deployed as DaemonSet. Management Agent Pod should have read-write access to it |
45
+
| deployment.resource.request.cpuCore | string |`200m`| Minimum CPU cores(millicore) for each agent instance |
46
+
| deployment.resource.request.memory | string |`500Mi`| Minimum memory(mebibytes) for each agent instance |
| deployment.resource.limit.cpuCore | string |`500m`| Maximum CPU cores(millicore) for each agent instance |
49
+
| deployment.resource.limit.memory | string |`1Gi`| Maximum memory(gibibyte) for each agent instance |
50
+
| deployment.storageClass | string |`nil`| The storage class for StatefulSet's PVC. If not provided then the Cluster's default storage class will be used |
34
51
35
52
----------------------------------------------
36
53
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
{{- if .Values.kubernetesCluster.overrideAllowMetricsNode }}
34
+
# list of comma separated metric names for Node (/api/v1/nodes/<node_name>/proxy/metrics/resource, /api/v1/nodes/<node_name>/proxy/metrics/cadvisor) metrics
Copy file name to clipboardExpand all lines: charts/mgmt-agent/values.yaml
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ oci-onm-common:
22
22
mgmtagent:
23
23
# Provide either installKeyFileContent or installKey as an install key. If both provided then installKeyFileContent will take higher precedence.
24
24
25
-
# -- Provide the base64 encoded content of the Management Agent Install Key file
25
+
# -- Provide the base64 encoded content of the Management Agent Install Key file (e.g. cat input.rsp | base64 -w 0)
26
26
installKeyFileContent:
27
27
# -- Copy the downloaded Management Agent Install Key file under root helm directory as resources/input.rsp
28
28
installKey: resources/input.rsp
@@ -50,6 +50,16 @@ kubernetesCluster:
50
50
name:
51
51
# -- Kubernetes cluster namespace(s) to monitor. This can be a comma-separated list of namespaces or '*' to monitor all the namespaces
52
52
namespace: '*'
53
+
# -- OCI namespace to push Kubernetes Monitoring metrics. The namespace should match the pattern '^[a-z][a-z0-9_]*[a-z0-9]$'. By default metrics will be pushed to 'mgmtagent_kubernetes_metrics'
54
+
monitoringNamespace:
55
+
# -- Provide the specific list of comma separated metric names for API server (/metrics) metrics to be collected.
56
+
overrideAllowMetricsAPIServer:
57
+
# -- Provide the specific list of comma separated metric names for agent computed metrics to be collected.
58
+
overrideAllowMetricsCluster:
59
+
# -- Provide the specific list of comma separated metric names for Kubelet (/api/v1/nodes/<node_name>/proxy/metrics) metrics to be collected.
60
+
overrideAllowMetricsKubelet:
61
+
# -- Provide the specific list of comma separated metric names for Node (/api/v1/nodes/<node_name>/proxy/metrics/resource, /api/v1/nodes/<node_name>/proxy/metrics/cadvisor) metrics to be collected.
62
+
overrideAllowMetricsNode:
53
63
54
64
deployment:
55
65
security:
@@ -60,6 +70,16 @@ deployment:
60
70
# Files created in the Container will use group ID 2000, replace it with a different value if desired
61
71
fsGroup: 2000
62
72
73
+
# Please provide the current epoch time in seconds (Eg: Executing the following command in a bash shell will provide the epoch time: "date +%s") to clean up the agent installation directory from previous deployment
74
+
cleanupEpochTime:
75
+
76
+
# Setting the daemonset deployment to true, will deploy the Management Agents as a daemonset in addition to deploying the Management Agent as a statefulset. This is done to to distribute the node metrics collection to agents running on the node
77
+
daemonSetDeployment: false
78
+
79
+
daemonSet:
80
+
# Provide the host path if Agent is deployed as DaemonSet. Management Agent Pod should have read-write access to it.
81
+
hostPath:
82
+
63
83
# Provide the agent resources as per Kubernetes resource quantity
0 commit comments