AlertHawk.Chart

Helm Chart for AlertHawk Components

Artifact Hub

This Helm chart deploys AlertHawk components as Kubernetes deployments and services.

Components Deployed

Prerequisites

External Dependencies

ClickHouse (Required for metrics-api)

The alerthawk-metrics-api component requires ClickHouse to be installed. Note that alerthawk-metrics-api also requires a SQL Server database (see SQL Server section below). You have two options:

Option 1: Install ClickHouse as part of this chart (Recommended)

Set clickhouse.enabled: true in your values.yaml file. This will automatically install ClickHouse as a subchart from the repository: https://thiagoloureiro.github.io/clickhouse.chart/

clickhouse:
  enabled: true
  # Additional ClickHouse configuration can be added here

After installation, configure the CLICKHOUSE_CONNECTION_STRING environment variable in the metrics-api section of values.yaml to point to the installed ClickHouse instance.

Option 2: Use an external ClickHouse instance

Set clickhouse.enabled: false in your values.yaml file and install ClickHouse separately:

helm repo add clickhouse https://thiagoloureiro.github.io/clickhouse.chart/
helm repo update
helm install my-clickhouse clickhouse/clickhouse

Then configure the CLICKHOUSE_CONNECTION_STRING environment variable in the metrics-api section of values.yaml to point to your external ClickHouse instance.

Reference: https://artifacthub.io/packages/helm/clickhouse-alerthawk/clickhouse

SQL Server (Required for auth, notification, monitoring, and metrics-api)

The alerthawk-auth, alerthawk-notification, alerthawk-monitoring, and alerthawk-metrics-api components require a SQL Server database. Configure the connection string using the ConnectionStrings__SqlConnectionString environment variable in the respective service sections of values.yaml.

Azure AD SSO (Optional)

If Single Sign-On (SSO) with Azure AD is required for any service, configure the following environment variables in the respective service sections:

Installation

  1. Add the Helm repository:
    helm repo add alerthawk https://thiagoloureiro.github.io/AlertHawk.Chart/
    helm repo update
    
  2. Configure your values.yaml file with the required environment variables (see Configuration section below).

  3. Install the chart:
    helm install alerthawk . -f values.yaml
    

Configuration

ClickHouse Configuration

The chart supports optional ClickHouse installation as a subchart. Configure it in the clickhouse section of values.yaml:

When clickhouse.enabled is true, configure the CLICKHOUSE_CONNECTION_STRING in the metrics-api.env section to point to the installed instance (typically http://clickhouse:8123/default).

Environment Variables

Common Variables

metrics-api

monitoring

auth

notification