Skip to content

Commit

Permalink
Documentation updates after upgrading the otel operator
Browse files Browse the repository at this point in the history
  • Loading branch information
rnishtala-sumo committed Jan 21, 2025
1 parent dbf4fbd commit b93f745
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 16 deletions.
4 changes: 2 additions & 2 deletions deploy/helm/sumologic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ The following table lists the configurable parameters of the Sumo Logic chart an
| `sumologic.metrics.collector.otelcol.autoscaling.minReplicas` | Default min replicas for autoscaling. collector | `1` |
| `sumologic.metrics.collector.otelcol.autoscaling.targetCPUUtilizationPercentage` | The desired target CPU utilization for autoscaling. | `70` |
| `sumologic.metrics.collector.otelcol.autoscaling.targetMemoryUtilizationPercentage` | The desired target memory utilization for autoscaling. | `70` |
| `sumologic.metrics.collector.otelcol.serviceMonitorSelector` | Selector for ServiceMonitors used for target discovery. By default, we select ServiceMonitors created by the Chart. See: https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocatorprometheuscr | `Nil` |
| `sumologic.metrics.collector.otelcol.podMonitorSelector` | Selector for PodMonitors used for target discovery. By default, we select PodMonitors created by the Chart. See: https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocatorprometheuscr | `Nil` |
| `sumologic.metrics.collector.otelcol.serviceMonitorSelector.matchLabels` | Selector for ServiceMonitors used for target discovery. By default, we select ServiceMonitors created by the Chart. See: https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocatorprometheuscr | `{}` |
| `sumologic.metrics.collector.otelcol.podMonitorSelector.matchLabels` | Selector for PodMonitors used for target discovery. By default, we select PodMonitors created by the Chart. See: https://github.com/open-telemetry/opentelemetry-operator/blob/main/docs/api.md#opentelemetrycollectorspectargetallocatorprometheuscr | `{}` |
| `sumologic.metrics.collector.otelcol.nodeSelector` | Node selector for the otelcol metrics collector. [See help.sumologic.com/docs/send-data/kubernetes/best-practices for more information.](https://help.sumologic.com/docs/send-data/kubernetes/best-practices/). | `{}` |
| `sumologic.metrics.collector.otelcol.podAnnotations` | Additional annotations for the otelcol metrics collector pods. | `{}` |
| `sumologic.metrics.collector.otelcol.podLabels` | Additional labels for the otelcol metrics collector pods. | `{}` |
Expand Down
4 changes: 0 additions & 4 deletions deploy/helm/sumologic/templates/_helpers/_common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
{{ template "sumologic.metadata.name.setup" . }}
{{- end -}}

{{- define "sumologic.metadata.name.setup.job-crd" -}}
{{ template "sumologic.metadata.name.setup.job" . }}-crd
{{- end -}}

{{- define "sumologic.metadata.name.setup.configmap-custom" -}}
{{ template "sumologic.metadata.name.setup" . }}-custom
{{- end -}}
Expand Down
2 changes: 0 additions & 2 deletions deploy/helm/sumologic/templates/setup/crds-configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.sumologic.installCRDs -}}
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -14,4 +13,3 @@ data:
{{ range $path, $bytes := .Files.Glob (printf "crds/*")}}
{{- $.Files.Get $path | nindent 8 }}
{{ end }}
{{- end -}}
3 changes: 0 additions & 3 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ sumologic:
## If enabled, a pre-delete hook will destroy Collector in Sumo Logic
cleanupEnabled: false

## Installation of CRDs
installCRDs: true

## If enabled, accessId and accessKey will be sourced from Secret Name given
## Be sure to include at least the following env variables in your secret
## (1) SUMOLOGIC_ACCESSID, (2) SUMOLOGIC_ACCESSKEY
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ The following table displays the currently used software versions for our Helm c
| Name | Version |
| ----------------------------------------- | ------- |
| OpenTelemetry Collector | 0.108.0 |
| OpenTelemetry Operator | 0.56.1 |
| OpenTelemetry Operator | 0.76.0 |
| kube-prometheus-stack/Prometheus Operator | 40.5.0 |
| Falco | 3.8.7 |
| Metrics Server | 6.11.2 |
Expand Down
8 changes: 4 additions & 4 deletions vagrant/opentelemetry-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: opentelemetry.io/v1alpha1
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: prometheus
Expand All @@ -13,7 +13,7 @@ spec:
image: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator:0.64.1
serviceAccount: prometheus-collector
replicas: 3
config: |
config:
receivers:
prometheus:
config:
Expand All @@ -22,10 +22,10 @@ spec:
interval: 30s
collector_id: ${POD_NAME}
scrape_configs:
- job_name: 'otel-collector'
- job_name: "otel-collector"
scrape_interval: 10s
static_configs:
- targets: [ '0.0.0.0:8888' ]
- targets: ["0.0.0.0:8888"]
processors:
memory_limiter:
check_interval: 1s
Expand Down

0 comments on commit b93f745

Please sign in to comment.