Seed and Master MLA customization uses outdated format
@wurbanski is already working on this.
Since Oct 23, 2023.
- Dominant language
- SCSS
- Stars
- 19
- Forks
- 117
- Avg merge
- 13h 29m
- Merged PRs (30d)
- 13
Description
In the current documentation for customizing seed cluster MLAs
the "Customer-Cluster" (this is called User Cluster everywhere else) Prometheus is configured through a kubermatic.clusterNamespacePrometheus key, that is supposedly present in the seed's YAML.
Unfortunately that Key was only available and documented until v2.14,
but is still mentioned in the documentation. As the keys are only offered through
- https://github.com/kubermatic/kubermatic-installer/blob/release/v2.14/values.seed.example.yaml
- https://github.com/kubermatic/kubermatic-installer/blob/release/v2.14/values.example.yaml
which appear very similar to those used in
is it possible to reuse that key
clusterNamespacePrometheusin theSeedspecto configure theuserNamespacePrometheuses?
While the old installer repository is full of references to it:
- https://github.com/kubermatic/kubermatic-installer/search?q=clusterNamespacePrometheus
- https://github.com/kubermatic/kubermatic/search?q=clusterNamespacePrometheus
the new one doesn't know it anymore, and I am unsure where to put custom scraping rules for Prometheus for the user cluster MLA stack, and how to make sure that they propagate to the User Cluster MLA instances, esp. Prometheus here.
It appears this is nowadays done through the monitoring key in the configuration manifest, but remains undocumented:
- https://github.com/kubermatic/kubermatic/blob/c95ebc2c20fe4d9ef4a7c3f31d2c0758b152f0bb/charts/kubermatic-operator/crd/k8c.io/kubermatic.k8c.io_kubermaticconfigurations.yaml#L488-L525
- https://github.com/kubermatic/kubermatic/blob/56acaa8c339c5ef26324663ff93e7821fdb738a2/docs/zz_generated.kubermaticConfiguration.yaml#L425-L446
It appears this is partly related to
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.