Skip to content

Commit 918f58b

Browse files
Readme update && lint
1 parent 6f7cb3f commit 918f58b

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

charts/nr-k8s-otel-collector/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ to export data to this connector which can then be connected to the New Relic ma
141141
| daemonset.nodeSelector | object | `{}` | Sets daemonset pod node selector. Overrides `nodeSelector` and `global.nodeSelector` |
142142
| daemonset.podAnnotations | object | `{}` | Annotations to be added to the daemonset. |
143143
| daemonset.podSecurityContext | object | `{}` | Sets security context (at pod level) for the daemonset. Overrides `podSecurityContext` and `global.podSecurityContext` |
144-
| daemonset.resources | object | `{}` | Sets resources for the daemonset. |
144+
| daemonset.resources | object | `{"limits":{"cpu":"200m","memory":"750Mi"},"requests":{"cpu":"20m","memory":"200Mi"}}` | Sets resources for the daemonset. |
145145
| daemonset.tolerations | list | `[]` | Sets daemonset pod tolerations. Overrides `tolerations` and `global.tolerations` |
146146
| deployment.affinity | object | `{}` | Sets deployment pod affinities. Overrides `affinity` and `global.affinity` |
147147
| deployment.configMap | object | See `values.yaml` | Settings for deployment configmap |
@@ -157,7 +157,7 @@ to export data to this connector which can then be connected to the New Relic ma
157157
| deployment.nodeSelector | object | `{}` | Sets deployment pod node selector. Overrides `nodeSelector` and `global.nodeSelector` |
158158
| deployment.podAnnotations | object | `{}` | Annotations to be added to the deployment. |
159159
| deployment.podSecurityContext | object | `{}` | Sets security context (at pod level) for the deployment. Overrides `podSecurityContext` and `global.podSecurityContext` |
160-
| deployment.resources | object | `{}` | Sets resources for the deployment. |
160+
| deployment.resources | object | `{"limits":{"cpu":"200m","memory":"750Mi"},"requests":{"cpu":"20m","memory":"200Mi"}}` | Sets resources for the deployment. |
161161
| deployment.tolerations | list | `[]` | Sets deployment pod tolerations. Overrides `tolerations` and `global.tolerations` |
162162
| dnsConfig | object | `{}` | Sets pod's dnsConfig. Can be configured also with `global.dnsConfig` |
163163
| exporters | string | `nil` | Define custom exporters here. See: https://opentelemetry.io/docs/collector/configuration/#exporters |
@@ -169,6 +169,7 @@ to export data to this connector which can then be connected to the New Relic ma
169169
| kube-state-metrics.metricAnnotationsAllowList | list | `["pods=[*]", "namespaces=[*]", "deployments=[*]"]` | List of Kubernetes annotation keys that will be used in the resources' annotations metric. By default, kube-state-metrics v2+ does not expose annotations as metric labels. This option allows you to specify which annotations should be exposed as metric dimensions. Each entry is formatted as "resource=[annotation1,annotation2,...]". Use "*" to include all annotations for a resource type. Example: ["pods=[description,owner]", "namespaces=[description]", "deployments=[change-id,jira-ticket]"] |
170170
| kube-state-metrics.metricLabelsAllowlist | list | `["pods=[*]", "namespaces=[*]", "deployments=[*]"]` | List of Kubernetes label keys that will be used in the resources' labels metric. By default, kube-state-metrics v2+ does not expose labels as metric labels. This option allows you to specify which labels should be exposed as metric dimensions. Each entry is formatted as "resource=[label1,label2,...]". Use "*" to include all labels for a resource type. Example: ["pods=[app,environment,team]", "namespaces=[environment]", "deployments=[app,version]"] |
171171
| kube-state-metrics.prometheusScrape | bool | `false` | Disable prometheus from auto-discovering KSM and potentially scraping duplicated data |
172+
| kube-state-metrics.resources | object | `{"limits":{"cpu":"200m","memory":"64Mi"},"requests":{"cpu":"50m","memory":"32Mi"}}` | Sets resources for kube-state-metrics. |
172173
| labels | object | `{}` | Additional labels for chart objects |
173174
| licenseKey | string | `""` | This set this license key to use. Can be configured also with `global.licenseKey` |
174175
| logsPipeline | object | `{"collectorEgress":{"exporters":null,"processors":null},"collectorIngress":{"exporters":null,"processors":null}}` | Edit how the NR Logs pipeline handles your Logs |
@@ -188,7 +189,7 @@ to export data to this connector which can then be connected to the New Relic ma
188189
| podSecurityContext | object | `{}` | Sets all security contexts (at pod level). Can be configured also with `global.securityContext.pod` |
189190
| priorityClassName | string | `""` | Sets pod's priorityClassName. Can be configured also with `global.priorityClassName` |
190191
| processors | string | `nil` | Define custom processors here. See: https://opentelemetry.io/docs/collector/configuration/#processors |
191-
| provider | string | `""` | The provider that you are deploying your cluster into. Sets known config constraints for your specific provider. Currently supporting OpenShift and GKE autopilot. If set, provider must be one of "GKE_AUTOPILOT" or "OPEN_SHIFT" |
192+
| provider | string | `"GKE_AUTOPILOT"` | The provider that you are deploying your cluster into. Sets known config constraints for your specific provider. Currently supporting OpenShift and GKE autopilot. If set, provider must be one of "GKE_AUTOPILOT" or "OPEN_SHIFT" |
192193
| proxy | string | `""` | Configures the Otel collector(s) to send all data through the specified proxy. |
193194
| rbac.create | bool | `true` | Specifies whether RBAC resources should be created |
194195
| receivers.collectorMetrics.enabled | bool | `false` | Specifies whether collector metrics are scraped from the deployment collector. Requires prometheus receiver to be enabled. |

charts/nr-k8s-otel-collector/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ kube-state-metrics:
1313
# metrics by default. You can enable the target labels/annotations metrics to be monitored by using the metricLabelsAllowlist/metricAnnotationsAllowList options described [here](https://github.com/prometheus-community/helm-charts/blob/159cd8e4fb89b8b107dcc100287504bb91bf30e0/charts/kube-state-metrics/values.yaml#L274) in
1414
# your Kubernetes clusters.
1515
enabled: true
16+
17+
# -- Sets resources for kube-state-metrics.
1618
resources:
1719
limits:
1820
cpu: 200m

charts/nri-bundle/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kube-state-metrics:
1919
limits:
2020
cpu: 100m
2121
memory: 64Mi
22-
requests:
22+
requests:
2323
cpu: 50m
2424
memory: 32Mi
2525

0 commit comments

Comments
 (0)