coscale

by joaquinito2051

Helm chartv1.0.0App 3.16.0

CoScale Agent

About this chart

CoScale

CoScale offers full-stack monitoring for containers and microservices.

Introduction

This chart adds the CoScale Agent to all nodes in your cluster via a DaemonSet.

Prerequisites

  • Kubernetes 1.2+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release, retrieve your CoScale details from your Agent page and run:

$ helm install \
    --name my-release \
    --set coscale.appId=YOUR-APP-ID,coscale.accessToken=YOUR-ACCESS-TOKEN,coscale.templateId=YOUR-TEMPLATE-ID \
$ helm install \
    stable/coscale

After a few minutes, you should see hosts and containers appearing in the CoScale UI.

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

ParameterDescriptionDefault
coscale.appIdYour CoScale Application IdNil You must provide your own
coscale.accessTokenYour CoScale Access TokenNil You must provide your own
coscale.templateIdYour CoScale Agent Template IdNil You must provide your own
image.repositoryThe image repository to pull fromcoscale/coscale-agent
image.tagThe image tag to pull3.16.0
image.pullPolicyThe Image pull policyIfNotPresent

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

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example, Specify each parameter using the --set key=value[,key=value] argument to helm install.

$ helm install --name my-release -f values.yaml <helm-repo>/coscale

$ helm install --name my-release -f values.yaml stable/coscale

Tip: You can use the default values.yaml

Deploy coscale with OpenTenant

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