Conversation
601e6c8 to
b54caf4
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
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:
on workload cluster:
now open
http://localhost:3000