Sumo Logic Kubernetes Collection Helm Operator for the Sumo Logic Kubernetes Collection Helm Chart.
This project was generated using Operator SDK.
Supported platforms:
Sumo Logic Kubernetes Collection Helm Operator version | OpenShift version |
---|---|
v4.9.0-1 | 4.13 4.14 4.15 |
v2.19.1-0 | 4.11 4.12 special configuration for OpenShift v4.12 |
v2.17.0-0 | 4.8 4.9 4.10 |
v2.1.4-0 | 4.6 4.7 |
Note: using Sumo Logic Kubernetes Collection Helm Operator on OpenShift v4.12 requires special configuration with PodSecurityPolicy
disabled
becausePodSecurityPolicy
was completely removed on Kubernetes 1.25+.
Following changes needs to be added to configuration to use Sumo Logic Kubernetes Collection Helm Operator on OpenShift v4.12:
kube-prometheus-stack:
global:
rbac:
pspEnabled: false
kube-state-metrics:
podSecurityPolicy:
enabled: false
prometheus-node-exporter:
rbac:
pspEnabled: false
Example configuration for Sumo Logic Kubernetes Collection Helm Operator on OpenShift v4.12 is available here.
-
If you don’t already have a Sumo account, you can create one by clicking the Free Trial button on https://www.sumologic.com/. To set up Sumo Logic Kubernetes collection it is required to have an Access ID and Access Key. with Manage Collectors capability.
-
Sumo Logic Kubernetes Collection Helm Operator deploys Sumo Logic Kubernetes Collection Helm Chart so before starting with Sumo Logic Kubernetes Collection Helm Operator please review documentation for Helm chart.
-
To interact with Kubernetes cluster please install kubectl or OpenShift CLI.
Configuration for Sumo Logic Kubernetes Collection Helm Operator needs to be provided in SumologicCollection
resource.
Custom Resource Definition for SumologicCollection
is defined in
helm-operator.sumologic.com_sumologiccollections.yaml.
SumologicCollection.spec
allows to configure all parameters from values.yaml for the
Sumo Logic Kubernetes Collection Helm Chart.
All possible parameters with descriptions can be found in Configuration
section for Sumo Logic Kubernetes Collection Helm Chart.
Example configurations for Sumo Logic Kubernetes Collection Helm Operator are available in config/samples directory.
Detailed instruction for installation from Red Hat Marketplace is available in this documentation.
-
Deploy Sumo Logic Kubernetes Collection Helm Operator using bundle.yaml
kubectl apply -f bundle.yaml
-
Create
SumologicCollection
resource with proper configuration, see Configuration section, e.g.kubeclt apply -f config/samples/default_openshift.yaml
Verify that Pod related to Sumologic Kubernetes Collection are running, for default configuration you should see similar list of Pods:
$ kubectl get pods -n openshift-operators
NAME READY STATUS RESTARTS AGE
collection-kube-state-metrics-75bfd69587-5gchw 1/1 Running 0 3m
collection-opentelemetry-operator-5f99bfbf4d-v4v2l 2/2 Running 0 3m
collection-prometheus-node-exporter-4rnqv 1/1 Running 0 2m59s
collection-prometheus-node-exporter-8wfw7 1/1 Running 0 2m59s
collection-prometheus-node-exporter-9g7c5 1/1 Running 0 3m
collection-prometheus-node-exporter-k6xfz 1/1 Running 0 3m
collection-prometheus-node-exporter-lh88z 1/1 Running 0 3m
collection-prometheus-node-exporter-s4bql 1/1 Running 0 2m59s
collection-prometheus-node-exporter-xgrrd 1/1 Running 0 2m59s
collection-prometheus-node-exporter-zq4ld 1/1 Running 0 2m59s
collection-sumologic-metrics-collector-0 1/1 Running 0 2m36s
collection-sumologic-metrics-targetallocator-6db5f4dc9d-8dzd5 1/1 Running 0 2m36s
collection-sumologic-otelcol-events-0 1/1 Running 0 3m
collection-sumologic-otelcol-instrumentation-0 1/1 Running 0 3m
collection-sumologic-otelcol-instrumentation-1 1/1 Running 0 2m45s
collection-sumologic-otelcol-instrumentation-2 1/1 Running 0 2m45s
collection-sumologic-otelcol-logs-0 1/1 Running 0 3m
collection-sumologic-otelcol-logs-1 1/1 Running 0 2m45s
collection-sumologic-otelcol-logs-2 1/1 Running 0 2m45s
collection-sumologic-otelcol-logs-collector-7562c 1/1 Running 0 3m
collection-sumologic-otelcol-logs-collector-8phqz 1/1 Running 0 3m
collection-sumologic-otelcol-logs-collector-9xscf 1/1 Running 0 3m
collection-sumologic-otelcol-logs-collector-b96f6 1/1 Running 0 3m
collection-sumologic-otelcol-logs-collector-kq924 1/1 Running 0 2m59s
collection-sumologic-otelcol-logs-collector-l8nsh 1/1 Running 0 3m
collection-sumologic-otelcol-logs-collector-pmdn7 1/1 Running 0 3m
collection-sumologic-otelcol-logs-collector-tp9xx 1/1 Running 0 3m
collection-sumologic-otelcol-metrics-0 1/1 Running 0 3m
collection-sumologic-otelcol-metrics-1 1/1 Running 0 2m45s
collection-sumologic-otelcol-metrics-2 1/1 Running 0 2m45s
collection-sumologic-traces-gateway-876fb5c65-mkzqs 1/1 Running 0 3m
collection-sumologic-traces-sampler-ff74c5cf4-wlsw4 1/1 Running 0 3m
sumologic-helm-operator-7bcd46469b-nglnz 2/2 Running 0 9m36s
Once you have completed installation, you can install the Kubernetes App and view the dashboards or open a new Explore tab in Sumo Logic.
This project is released under the Apache 2.0 License.
Please refer to our Contributing documentation to get started.