rookout

by joaquinito2051

Helm chartv0.1.0App 1.0

A Helm chart for Rookout agent on Kubernetes

About this chart

Rookout

Rookout Get data from your live code, as it runs. Extract any piece of data from your code and pipeline it anywhere, in realtime, even if you’d never thought about it beforehand or created any instrumentation to collect it.

TL;DR;

$ helm install --name my-release <helm-repo>/rookout --set token=YOUR_ORGANIZATIONAL_TOKEN

$ helm install --name my-release stable/rookout --set token=YOUR_ORGANIZATIONAL_TOKEN

Introduction

This chart bootstraps a Rookout Router deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.9+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release <helm-repo>/rookout --set token=YOUR_ORGANIZATIONAL_TOKEN

$ helm install --name my-release stable/rookout --set token=YOUR_ORGANIZATIONAL_TOKEN The command deploys Rookout 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 my-release deployment:

$ helm delete my-release

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 Rookout Router chart and their default values.

ParameterDescriptionDefault
tokenRookout organizational tokenNil You must provide your own token
tagsRookout Router tagsNil You must provide your own token
listenAllConfiguring the agent to listen on all addresses instead of only localhost.True You must provide your own token
image.registryRookout image registrydocker.io
image.repositoryRookout image namerookout/agent
image.tagRookout image tag{VERSION}
image.pullPolicyImage pull policyAlways if imageTag is latest, else IfNotPresent
image.pullSecretsSpecify image pull secretsnil

The above parameters map to the env variables defined in rookout/agent. For more information please refer to the rookout/agent image documentation.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
  --set token=YOUR_TOKEN_HERE,listenAll=False,tags=tag1;tag2;tag3 \
    <helm-repo>/rookout
$ helm install --name my-release \

The above command sets the Rookout Router token to your organizational token. Additionally, it sets the listenAll to False and Router tags to tag1;tag2;tag3.

Tip: You can use the default values.yaml

Deploy rookout with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rookout 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 chartrookout is pinned at v0.1.0 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