astro

by joaquinito2051

Helm chartv1.0.0App 1.5.2

Emit datadog monitors based on kubernetes state.

About this chart

Astro

Astro was designed to simplify datadog monitor administration. This is an operator that emits datadog monitors based on kubernetes state. The operator responds to changes of resources in your kubernetes cluster and will manage datadog monitors based on the configured state.

More information about astro is available on GitHub.

Installation

We recommend installing astro in its own namespace and with a simple release name:

helm install incubator/astro --name astro --namespace astro

Changes to chart values in 1.0.0+

When upgrading from a chart version below 1.0.0 to 1.0.0+ take into account the following changes in values:

< 1.0.0 Value1.0.0+ Value
controller.rbac.createrbac.create
controller.serviceAccount.createdeployment.serviceAccount.create
controller.serviceAccount.namedeployment.serviceAccount.name

New values that were previously not available:

  • deployment.replicas

Prerequisites

Kubernetes 1.11+, Helm 2.13+

Configuration

ParameterDescriptionDefault
image.repositoryDocker image repoquay.io/fairwinds/astro
image.tagDocker image tagv1.5.2
image.pullPolicyDocker image pull policyIfNotPresent
resources.requests.cpuCPU resource request100m
resources.requests.memoryMemory resource request128Mi
resources.limits.cpuCPU resource limit100m
resources.limits.memoryMemory resource limit128Mi
nodeSelectorDeployment nodeSelector{}
tolerationsDeployment tolerations[]
affinityDeployment affinity{}
datadog.apiKeyDatadog api key""
datadog.appKeyDatadog app key""
rbac.createif true, rbac resources will be created.true
deployment.serviceAccount.createif true, a service account will be created. If false, you must set deployment.serviceAccount.name.true
deployment.serviceAccount.nameThe name of an existing service account to use.''
deployment.replicasThe number of replicas to use2
secret.createif true, a secret with api credentials will be created. If false, you must set secret.nametrue
secret.nameThe name of an existing secret to mount to the container.""
definitionsPathThe path to the monitor definitions configuration. This can be a local path or a URL.""
ownerA unique name to designate as the owner. This will be applied as a tag to identified managed monitors.astro
dryRunwhen set to true monitors will not be managed in datadog.false
custom_config.enabledif true a custom configuration must be specified in custom_config.data.false
custom_config.dataAn astro configuration file. See the Astro repo readme for more details.

Deploy astro with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has astro 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 chartastro 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