Skip to content

chore: add csi and observability addon templates#39

Merged
mweibel merged 1 commit into
mainfrom
addons
May 29, 2026
Merged

chore: add csi and observability addon templates#39
mweibel merged 1 commit into
mainfrom
addons

Conversation

@mweibel
Copy link
Copy Markdown
Collaborator

@mweibel mweibel commented May 28, 2026

Adds CSI-cloudscale in it's latest version which is a prerequisite for the added observability addon.
The observability addon will setup alloy, loki, and grafana in labeled clusters.

Env vars for configuration (and their defaults):

  • GRAFANA_ADMIN_PASSWORD=admin
  • LOKI_RETENTION_HOURS=720h
  • LOKI_VOLUME_SIZE=20Gi

When applying it with envsubst, make sure to use envsubst which is capable of defaults, for example: https://github.com/a8m/envsubst

Usage:

on management cluster:

$ kubectl label cluster -n <namespace> <name> csi=cloudscale observability=enabled $ NAMESPACE=<namespace> envsubst < templates/addons/csi-cloudscale.yaml | kubectl apply -f -
$ NAMESPACE=<namespace> envsubst < templates/addons/observability.yaml | kubectl apply -f -

on workload cluster:

$ kubectl port-forward -n observability svc/grafana 3000

now open http://localhost:3000

@mweibel mweibel force-pushed the addons branch 2 times, most recently from 601e6c8 to b54caf4 Compare May 28, 2026 15:21
Adds CSI-cloudscale in it's latest version which is a prerequisite for
the added observability addon.
The observability addon will setup alloy, loki, and grafana in labeled
clusters.

Env vars for configuration (and their defaults):
- GRAFANA_ADMIN_PASSWORD=admin
- LOKI_RETENTION_HOURS=720h
- LOKI_VOLUME_SIZE=20Gi

When applying it with envsubst, make sure to use envsubst which is
capable of defaults, for example: https://github.com/a8m/envsubst

use as follows:

on management cluster:
$ kubectl label cluster -n <namespace> <name> csi=cloudscale observability=enabled
$ NAMESPACE=<namespace> envsubst < templates/addons/csi-cloudscale.yaml
| kubectl apply -f -
$ NAMESPACE=<namespace> envsubst < templates/addons/observability.yaml |
kubectl apply -f -

on workload cluster:

$ kubectl port-forward -n observability svc/grafana 3000

now open localhost:3000
@mweibel mweibel merged commit 89f1072 into main May 29, 2026
6 checks passed
@mweibel mweibel deleted the addons branch May 29, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant