scalyr-k8snode-manager

Artifact HUB Version: 0.1.1 Type: application AppVersion: latest

Introduction

This helm chart installs a CronJob into a Kubernetes cluster, which periodically runs a pod that connects to all Kubernetes nodes via SSH, installs or updates the Scalyr agent and deploys Scalyr configuration files.

This chart is not affiliated with Scalyr, Inc. in any way. For support, please open an issue in this project’s issue tracker.

Installation

Use

helm install <name of release> scalyr-agent --repo https://dodevops.io/scalyr-k8snode-manager

to install this chart.

Configuration

Theses basic configuration keys have to be set up for managing Scalyr agents on the Kubernetes nodes:

The scalyr configuration is done using the configuration map approach. This is basically a key/value hash. The keys refer to the configuration file name for grouping monitors. The value is the Scalyr json configuration for each monitor.

Values

Key Type Default Description
affinity object {}  
config.cronSchedule string "0 0 * * *" Schedule to use for the CronJob
config.env list [] Additional environment variables to set in the PodSpec Env-form (list of objects with name and value keys)
config.scalyr.apiKey string "" The Scalyr API key to use
config.scalyr.base64Config bool true As Helm is currently unable to correctly pass JSON strings, this can be set to true so all values of scalyr.config are expected to be base64 encoded and will be decoded in the chart
config.scalyr.config object {} A hash of configuration files and their content as documented in the Scalyr agent configmap configuration documentation
config.scalyr.server string "scalyr.com" The Scalyr server to send logs to
config.scalyr.version string "" Version of Scalyr to use
config.sftpServer string "/usr/libexec/openssh/sftp-server" Path to the SFTP-Server binary on the node
config.sshKey string "" SSH private key data to use
config.sshPassPhrase string "" SSH passphrase for the key
config.sshUser string "" User to use when connecting to the node
fullnameOverride string ""  
image.pullPolicy string "Always"  
image.repository string "dodevops/scalyr-k8snode-manager"  
image.tag string ""  
imagePullSecrets list []  
nameOverride string ""  
nodeSelector object {}  
podAnnotations object {}  
podSecurityContext object {}  
replicaCount int 1  
resources object {}  
restartPolicy string "OnFailure"  
securityContext object {}  
serviceAccount.annotations object {}  
serviceAccount.create bool true  
serviceAccount.name string ""  
tolerations list []