Skip to main content

Kubernetes Quickstart

This guide will walk you through setting up the Sumo Logic Kubernetes solution in a few easy steps. This will:

  • Install the Sumo Logic Kubernetes Helm Chart in your Kubernetes environment
  • Set up data collection for your Kubernetes environment (orchestration, infrastructure, and app data)
  • Install the relevant app dashboards to view data from your Kubernetes environment and share them with others in your org
  • Install the necessary alert monitors to get alerted of any issues
tip

As an alternative to this quickstart, you can use our in-product onboarding to accomplish the same tasks in single setup workflow. Go to App Catalog > Kubernetes > Begin Integration.

k8s-onboarding
Micro lesson

Video: Quick Onboarding with Kubernetes.

Prerequisites​

Supported versions​

A list of supported platforms for the Sumo Logic Kubernetes solution can be found here.

Resource requirements​

The Sumo Logic Kubernetes Helm Chart uses less than 1 CPU and less than 2 Gi memory deployed in default configuration in single-node Kubernetes environment where only the Sumo Logic Kubernetes Helm Chart is deployed.

However, resource requests for components of the Sumo Logic Kubernetes Helm Chart are set to a higher level (about 7 CPU and 10 Gi memory).

To deploy the Sumo Logic Kubernetes Helm Chart in the cluster with very limited resources, you need to modify default configuration and decrease resource requests and number of replicas. For example, to decrease resource requests and number of replicas for otelcol-metrics, you'd need to add the following configuration to your values.yaml:

metadata:
metrics:
statefulset:
replicaCount: 1
resources:
requests:
memory: 100Mi
cpu: 50m
note

Resource consumption depends on data traffic in your cluster. In clusters with huge data traffic, you will need to increase resource limits and/or increase number of replicas for components.

Installation​

This will install the Sumo Logic Kubernetes collection as well as the core dashboards and alerts.

  1. If this is your first time installing our helm chart, add the Sumo Logic Helm repo:
helm repo add sumologic https://sumologic.github.io/sumologic-kubernetes-collection
helm repo update
  1. Get your Sumo Logic Access ID and Access Key and run the following command:
helm upgrade --install my-release sumologic/sumologic \
--namespace=my-namespace \
--create-namespace \
--set sumologic.accessId=SUMO_ACCESS_ID \
--set sumologic.accessKey=SUMO_ACCESS_KEY \
--set sumologic.clusterName=Kubernetes_cluster \
--set sumologic.collectorName=kubernetes \
# To opt out of out-of-box alerts, omit the below line
--set "sumologic.setup.monitors.notificationEmails={EMAIL ADDRESS}"
Helm Values File

If you're adding additional configuration, we recommend using the helm values files, which should only contain properties you want to change from the default values.yaml to ensure upgrades behave properly.

Next Steps​

To get started, open a new Kubernetes view and view your Kubernetes App Dashboards.

If you're looking to monitor specific aspects of Kubernetes control plane provided by different cloud vendors (such as GKE, AKS, EKS), you'll need to install those Sumo Logic Kubernetes Apps.

If you do not see data in Sumo Logic, review our troubleshooting guide.

Additional Resources​

Kubernetes Partner Apps​

We provide an array of Partner Apps designed specifically for Kubernetes. The following CI/CD Partner Apps are initially available.

K8s_PartnerApps_CI-CD.png

Sumo Logic Security Partner Apps​

We also provide a selection of security-focused Partner Apps with specialized detection and investigation features.

K8s_PartnerApps_Security.png

Get Certified​

Make the most of our Kubernetes Observability offerings by enrolling in our free training, where you'll learn more about using OpenTelemetry collectors, tracing agents, and our Reliability Management features. The Sumo Kubernetes Analyst Certification is a hands-on class that shows you how to expand your knowledge of Kubernetes by solving common use cases.

K8s_Kubernetes_Analyst_Cert.png
Status
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.