astro
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 Value | 1.0.0+ Value |
|---|---|
controller.rbac.create | rbac.create |
controller.serviceAccount.create | deployment.serviceAccount.create |
controller.serviceAccount.name | deployment.serviceAccount.name |
New values that were previously not available:
deployment.replicas
Prerequisites
Kubernetes 1.11+, Helm 2.13+
Configuration
| Parameter | Description | Default |
|---|---|---|
image.repository | Docker image repo | quay.io/fairwinds/astro |
image.tag | Docker image tag | v1.5.2 |
image.pullPolicy | Docker image pull policy | IfNotPresent |
resources.requests.cpu | CPU resource request | 100m |
resources.requests.memory | Memory resource request | 128Mi |
resources.limits.cpu | CPU resource limit | 100m |
resources.limits.memory | Memory resource limit | 128Mi |
nodeSelector | Deployment nodeSelector | {} |
tolerations | Deployment tolerations | [] |
affinity | Deployment affinity | {} |
datadog.apiKey | Datadog api key | "" |
datadog.appKey | Datadog app key | "" |
rbac.create | if true, rbac resources will be created. | true |
deployment.serviceAccount.create | if true, a service account will be created. If false, you must set deployment.serviceAccount.name. | true |
deployment.serviceAccount.name | The name of an existing service account to use. | '' |
deployment.replicas | The number of replicas to use | 2 |
secret.create | if true, a secret with api credentials will be created. If false, you must set secret.name | true |
secret.name | The name of an existing secret to mount to the container. | "" |
definitionsPath | The path to the monitor definitions configuration. This can be a local path or a URL. | "" |
owner | A unique name to designate as the owner. This will be applied as a tag to identified managed monitors. | astro |
dryRun | when set to true monitors will not be managed in datadog. | false |
custom_config.enabled | if true a custom configuration must be specified in custom_config.data. | false |
custom_config.data | An 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartastro is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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