shield

by Sysdig

Helm chartv1.58.1App 1.0.0Verified publisher

A chart with various Sysdig components for Kubernetes

About this chart

Shield

Sysdig Shield. This chart deploys the Sysdig Host & Cluster Shield in your Kubernetes cluster.

  • Prerequisites
  • Installing the Chart
  • Configuration

Introduction

This chart deploys the Sysdig Shield as a Deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Helm 3.6
  • Sysdig AccessKey
  • Sysdig Secure API Token (required for Kubernetes Audit with on-premise installations)
  • Sysdig Secure API URL
  • Sysdig Secure Collector

Installing the Chart

To install the chart create a values.yaml file. Set your values and decide which features you would like to enable.

cluster_config:
  name: <your-cluster-name>

sysdig_endpoint:
  access_key: <your-access-key>
  api_url: <your-api-url>
  collector:
    host: <your-collector-hostname>
    port: <your-collector-port>

Then, to install it with the release name sysdig, run:

$ helm upgrade --install --atomic --create-namespace \
    -n sysdig-agent \
    -f values.yaml \
    sysdig \
    sysdig/shield

The command deploys the Sysdig Shield on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the sysdig:

$ helm uninstall sysdig -n sysdig-agent

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the shield chart and their default values.

ParameterDescriptionDefault
cluster_config.nameThe name of the cluster
cluster_config.cluster_domainThe domain of the clustercluster.local
cluster_config.cluster_typeThe type of the cluster (Accepted Values: gke-autopilot, generic)generic
cluster_config.root_namespaceThe root namespace of the clusterkube-system
cluster_config.tagsTags you want to apply to the metadata sent to the Sysdig Backend.{}
sysdig_endpoint.regionThe region where the Sysdig Secure instance is locatedcustom
sysdig_endpoint.api_urlThe URL of the Sysdig Secure API (required only when region is custom)
sysdig_endpoint.collector.hostThe hostname of the Sysdig Secure collector (required only when region is custom)
sysdig_endpoint.collector.portThe port of the Sysdig Secure collector (required only when region is custom)
sysdig_endpoint.access_keyThe access key for the Sysdig Secure instance. WARNING: Supplying credentials inline here persists them in Helm release metadata (sh.helm.release.v1..v Secret) as base64 plaintext, and exposes them through helm get values / GitOps snapshots. For sensitive environments, prefer pre-creating a Secret out-of-band and using access_key_existing_secret below.
sysdig_endpoint.access_key_existing_secretName of a pre-existing Secret with the access-key key. When set, the chart skips generating its own Secret and the inline access_key value above is ignored. RECOMMENDED for production deployments.

Deploy shield with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has shield on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartshield is pinned at v1.58.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply