Alertmanager
- Canonical Observability
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 128 | 03 Dec 2024 | |
latest/candidate | 138 | 03 Dec 2024 | |
latest/beta | 138 | 19 Nov 2024 | |
latest/edge | 144 | 20 Dec 2024 | |
1.0/stable | 96 | 12 Dec 2023 | |
1.0/candidate | 96 | 22 Nov 2023 | |
1.0/beta | 96 | 22 Nov 2023 | |
1.0/edge | 96 | 22 Nov 2023 |
juju deploy alertmanager-k8s
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
-
config_file | string
Alertmanager configuration file (yaml), with the exclusion of the templates section. Refer to https://www.prometheus.io/docs/alerting/latest/configuration/ for full details.
-
cpu | string
K8s cpu resource limit, e.g. "1" or "500m". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements (the "requests" portion is automatically deduced from it). See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
-
memory | string
K8s memory resource limit, e.g. "1Gi". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements (the "requests" portion is automatically deduced from it). See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
-
templates_file | string
Alertmanager templates definition file. This is a slight deviation from the official alertmanager config spec. All templates need to go into this single config option, instead of the 'templates' section of the main configuration file. The templates will be pushed to the workload container, and the configuration file will be updated accordingly. Templates can't be used without
config_file
. Refer to https://prometheus.io/docs/alerting/latest/notification_examples/ for more details on templates. -
web_external_url | string
DEPRECATED. This config option is no longer used, in favor of "skipPrefix".
The URL under which Alertmanager is externally reachable (for example, if Alertmanager is served via a manually configured ingress).
This config option is used for the
--web.external-url
alertmanager cli argument. If this charm config option is provided, it takes precedence over the URL provided over the "ingress" relation.Note: this config option shouldn't be included when you're using the "ingress" relation (e.g. traefik) - the charm will automatically assign an external url to
--web.external-url
when related to an ingress provider.This should be a complete URI, including scheme, or a fully qualified subpath starting with
/
. If Alertmanager is being served directly from the root of a fully-qualified host or a bare A record, this may be omitted. If the URL has a path portion, Alertmanager will use it to prefix all HTTP endpoints.