How samirpanday/monitoring_argocd works
This is a GitOps desired-state repository for a shared monitoring platform and Kubernetes tenants. The workflow starts when Argo CD watches the repository: a root Application loads cluster configuration, the platform ApplicationSet installs shared monitoring charts, and the tenant ApplicationSet turns tenant directories into Applications that render and apply common Kubernetes resources. Tenant configuration and platform values are distinct inputs. The README also documents separate platform policies and that Grafana organizations and users are not provisioned. Relationships below are based on README documentation; no source excerpts were supplied.
Main entry points: values.yaml Tenant chart defaults · platform-applicationset.yaml Platform ApplicationSet · tenant-applicationset.yaml Tenant ApplicationSet · root-application.yaml Root Application
Components 24
Argo CD orchestration
- Root Application
clusters/rke2-prod/root-application.yaml - Platform ApplicationSet
clusters/rke2-prod/applicationsets/platform-applicationset.yaml - Tenant ApplicationSet
clusters/rke2-prod/applicationsets/tenant-applicationset.yaml - Platform AppProject
clusters/rke2-prod/platform-project.yaml - Tenant AppProject
clusters/rke2-prod/tenant-project.yaml - Generated tenant Application
clusters/rke2-prod/applicationsets/tenant-applicationset.yaml
Shared monitoring
- Prometheus values
apps/platform/kube-prometheus-stack/values.yaml - Loki values
apps/platform/loki/values.yaml - Alloy values
apps/platform/alloy/values.yaml - Upstream charts
Tenant provisioning
- Tenant definitions
tenants - Tenant chart defaults
charts/tenant/values.yaml - Tenant naming helper
charts/tenant/templates/_helpers.tpl - Namespace templates
charts/tenant/templates/namespaces.yaml - Resource quota templates
charts/tenant/templates/resource-quota.yaml - Limit range templates
charts/tenant/templates/limit-range.yaml - Service account templates
charts/tenant/templates/service-accounts.yaml - Tenant network policies
charts/tenant/templates/network-policies.yaml - Example tenant input
tenants/example/tenant.yaml - Tenant input template
tenants/_template/tenant.yaml
Cluster policies
- Platform default-deny policy
policies/network/platform-default-deny.yaml
Other components
- Git repository
- Argo CD
- Kubernetes cluster
Connections 21
- Git repository → Argo CD: notifies changes
README.md - Argo CD → Root Application: runs
README.md - Root Application → Platform ApplicationSet: applies config
README.md - Root Application → Tenant ApplicationSet: applies config
README.md - Platform ApplicationSet → Upstream charts: installs
README.md - Platform ApplicationSet → Prometheus values: passes values
README.md - Platform ApplicationSet → Loki values: passes values
README.md - Platform ApplicationSet → Alloy values: passes values
README.md - Tenant ApplicationSet → Tenant definitions: scans
README.md - Tenant ApplicationSet → Generated tenant Application: generates
README.md - Generated tenant Application → Tenant chart defaults: runs chart
README.md - Generated tenant Application → Example tenant input: uses values
README.md - Tenant chart defaults → Tenant naming helper: uses helper
README.md - Tenant chart defaults → Namespace templates: renders
README.md - Tenant chart defaults → Resource quota templates: renders
README.md - Tenant chart defaults → Limit range templates: renders
README.md - Tenant chart defaults → Service account templates: renders
README.md - Tenant chart defaults → Tenant network policies: renders
README.md - Generated tenant Application → Kubernetes cluster: applies resources
README.md - Tenant ApplicationSet → Tenant AppProject: uses permissions
README.md - Platform ApplicationSet → Platform AppProject: uses permissions
README.md