Quick Install Sysdig Agent on Kubernetes

Sysdig provides a single-line Sysdig Agent installer to help you get started quickly in Kubernetes environments. This section helps you familiarize yourself with the options to use the installer on Kubernetes.

You can also access the help by using the following command:

 $ ./install-agent-kubernetes --help

Usage

$ install-agent-kubernetes [-a | --access_key <value>] [-t | --tags <value>] [-c | --collector <value>] \[-cp | --collector_port <value>] [-s | --secure <value>] [-cc | --check_certificate <value>] \[-ns | --namespace | --project <value>] [-ac | --additional_conf <value>] \[-op | --openshift] [-as | --agent_slim] [-av | --agent_version <value>] \[-ia | --imageanalyzer ] [-am | --analysismanager <value>] [-ds | --dockersocket <value>] [-cs | --crisocket <value>] [-cv | --customvolume <value>] \[-cn | --cluster_name <value>] [-r | --remove ] [-h | --help]

Options

Option

Description

-a

The secret access key, as shown in Sysdig Monitor.

-t

The list of tags for the host where the agent is installed. For example: "role:webserver, location:europe", "role:webserver" or "webserver".

-c

The collector IP for Sysdig Monitor.

-cp

The collector port. The default is 6443.

-s

Use a secure SSL/TLS connection to send metrics to the collector. This option is enabled by default.

-cc

Enable strong SSL certificate check. The default is true.

-ns

If a value is provided, the agent will be deployed to the specified namespace/project. The default is sysdig-agent.

-op

If provided, perform the agent installation using the OpenShift command line.

-ac

If a value is provided, the additional configuration will be appended to the agent configuration file.

-av

If a version is provided, use the specified agent version. The default is the latest version.

-r

If a value is provided, the daemonset, configmap, cluster role binding, service acccount and secret associated with the Sysdig Agent will be removed from the specified namespace.

-am

The Analysis Manager endpoint for Sysdig Secure.

-ds

The docker socket for Image Analyzer.

-cs

The CRI socket for Image Analyzer.

-cv

The custom volume for Image Analyzer.

-ia

If a value is not provided, installing Image Analyzer will be skipped.

-h

Print this usage and exit.