Sign inSign up

dodevops/scalyr-k8snode-manager

By dodevops

•Updated almost 6 years ago

Image
0

2.2K

dodevops/scalyr-k8snode-manager repository overview

⁠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:

  • config.sshKey: The private key data of the SSH key used to connect to the Kubernetes nodes. Be sure that the public part of that keypair is allowed to connect to the node.
  • config.sshPassPhrase: The passphrase of the private key used to connect to the Kubernetes nodes.
  • config.sshUser: The remote user connecting to the Kubernetes nodes (e.g. ec2-user on EKS managed nodegroups)
  • env: Additional environment variables (useful for templating; see below)
  • config.scalyr.server: The name of the Scalyr api server (defaults to scalyr.com)
  • config.scalyr.apiKey: The api key used to authenticate to the Scalyr api server
  • config.scalyr.version: The version to install (defaults to the latest version)
  • config.scalyr.config: The Scalyr configuration

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

KeyTypeDefaultDescription
affinityobject{}
config.cronSchedulestring"0 0 * * *"Schedule to use for the CronJob
config.envlist[]Additional environment variables to set in the PodSpec Env-form (list of objects with name and value keys)
config.scalyr.apiKeystring""The Scalyr API key to use
config.scalyr.base64ConfigbooltrueAs 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.configobject{}A hash of configuration files and their content as documented in the Scalyr agent configmap configuration documentation⁠
config.scalyr.serverstring"scalyr.com"The Scalyr server to send logs to
config.scalyr.versionstring""Version of Scalyr to use
config.sftpServerstring"/usr/libexec/openssh/sftp-server"Path to the SFTP-Server binary on the node
config.sshKeystring""SSH private key data to use
config.sshPassPhrasestring""SSH passphrase for the key
config.sshUserstring""User to use when connecting to the node
fullnameOverridestring""
image.pullPolicystring"Always"
image.repositorystring"dodevops/scalyr-k8snode-manager"
image.tagstring""
imagePullSecretslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
replicaCountint1
resourcesobject{}
restartPolicystring"OnFailure"
securityContextobject{}
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Tag summary

Content type

Image

Digest

Size

19.9 MB

Last updated

almost 6 years ago

docker pull dodevops/scalyr-k8snode-manager