eclipse-tractusx / sig-infra

Repository for Tractus-X infrastructure topics and resources.
Apache License 2.0
2 stars 2 forks source link

Add kyverno monitoring to default stack #105

Closed FaGru3n closed 1 year ago

FaGru3n commented 1 year ago

Reason With kyverno in our cluster, we need to make sure that it is easy to be aware of policie issues.

To do so, we will add monitoring to our default stack so that our internal customers can easily see if there are issues with kyverno.

AC

Additional information / links

carslen commented 1 year ago

Kyverno needs to be upgraded, as the documentation doesn't match with our deployed Kyverno version. Kyverno introduced breaking changes with version (AppVersion/Helm Chart Version) 1.10.0/3.0.0 and documentation is based on v1.10.0.

Current deployed Kyverno Version in our envs

Resources

As we've not yet deployed any policies we'll follow the recommended upgrade option 1 (uninstall - reinstall).

carslen commented 1 year ago

Kyverno upgraded to v1.10.3 (Helm Chart v3.0.5).

carslen commented 1 year ago

Documented way of configuring might be outdated, as kyverno/grafana-dashboard has been archived and references back to the v3 Helm Chart. There are settings how to implement/deploy the dashboard. Investigating.

carslen commented 1 year ago

kyverno dashboard deployed as configMap to monitoring namespace and added dashboard to grafana config.

https://grafana.devsecops-testing.demo.catena-x.net/d/Rg8lWBG7k/kyverno-metrics?orgId=1

pls review

carslen commented 1 year ago

🛎 Please review PR: https://github.com/catenax-ng/k8s-cluster-stack/pull/438

SebastianBezold commented 1 year ago

PR merged, Dashboard present, so from my point of view this issue is done. What do you think @carslen?