alert-database

by joaquinito2051

Helm chartv2.1.0App 1.0.0

Archival database of alerts sent through the alert stream.

About this chart

alert-database

Archival database of alerts sent through the alert stream.

Maintainers

NameEmailUrl
swnelson[email protected]

Values

KeyTypeDefaultDescription
fullnameOverridestring""Override the full name for resources (includes the release name)
ingesterobject{"gcp":{"projectID":"","serviceAccountName":""},"image":{"imagePullPolicy":"IfNotPresent","repository":"lsstdm/alert_database_ingester","tag":"v2.0.1"},"kafka":{"cluster":"alert-broker","port":9092,"strimziAPIVersion":"v1beta2","topic":"alerts-simulated","user":"alert-database-ingester"},"logLevel":"verbose","schemaRegistryURL":"","serviceAccountName":"alert-database-ingester"}it to the database backend.
ingester.gcp.projectIDstring""Project ID which has the above GCP IAM service account
ingester.gcp.serviceAccountNamestring""Name of a service account which has credentials granting access to the alert database's backing storage buckets.
ingester.kafka.clusterstring"alert-broker"Name of a Strimzi Kafka cluster to connect to.
ingester.kafka.portint9092Port to connect to on the Strimzi Kafka cluster. It should be an internal listener that expects SCRAM SHA-512 auth.
ingester.kafka.strimziAPIVersionstring"v1beta2"API version of the Strimzi installation's custom resource definitions
ingester.kafka.topicstring"alerts-simulated"Name of the topic which will holds alert data.
ingester.kafka.userstring"alert-database-ingester"The username of the Kafka user identity used to connect to the broker.
ingester.logLevelstring"verbose"set the log level of the application. can be 'info', or 'debug', or anything else to suppress logging.
ingester.schemaRegistryURLstring""URL of a schema registry instance
ingester.serviceAccountNamestring"alert-database-ingester"The name of the Kubernetes ServiceAccount (not the Google Cloud IAM service account!) which is used by the alert database ingester.
ingress.annotationsobject{}
ingress.enabledbooltrueWhether to create an ingress
ingress.gafaelfawrAuthQuerystring"scope=read:alertdb"Query string for Gafaelfawr to authorize access
ingress.hoststringNone, must be set if the ingress is enabledHostname for the ingress
ingress.pathstring"/alertdb"Subpath to host the alert database application under the ingress
ingress.tlslist[]Configures TLS for the ingress if needed. If multiple ingresses share the same hostname, only one of them needs a TLS configuration.
nameOverridestring""Override the base name for resources
server.gcp.projectIDstring""Project ID which has the above GCP IAM service account
server.gcp.serviceAccountNamestring""Name of a service account which has credentials granting access to the alert database's backing storage buckets.
server.image.imagePullPolicystring"IfNotPresent"
server.image.repositorystring"lsstdm/alert_database_server"
server.image.tagstring"v2.1.0"
server.logLevelstring"verbose"set the log level of the application. can be 'info', or 'debug', or anything else to suppress logging.
server.service.portint3000
server.service.typestring"ClusterIP"
server.serviceAccountNamestring"alertdb-reader"The name of the Kubernetes ServiceAccount (not the Google Cloud IAM service account!) which is used by the alert database server.
storage.gcp.alertBucketstring""Name of a Google Cloud Storage bucket in GCP with alert data
storage.gcp.projectstring""Name of a GCP project that has a bucket for database storage
storage.gcp.schemaBucketstring""Name of a Google Cloud Storage bucket in GCP with schema data

Deploy alert-database with OpenTenant

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