fix: deploys a lighter weight prometheus and grafana which is limited to their respective namespaces

This commit is contained in:
2025-07-04 16:13:41 -04:00
parent b73f2e76d0
commit f702ecd8c9
20 changed files with 506 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ use harmony::{
inventory::Inventory,
maestro::Maestro,
modules::application::{
ApplicationScore, RustWebFramework, RustWebapp, features::ContinuousDelivery,
features::{ContinuousDelivery, Monitoring}, ApplicationScore, RustWebFramework, RustWebapp
},
topology::{K8sAnywhereTopology, Url},
};
@@ -19,11 +19,19 @@ async fn main() {
framework: Some(RustWebFramework::Leptos),
});
// let app = ApplicationScore {
// features: vec![
// Box::new(ContinuousDelivery {
// application: application.clone(),
// }),
// Box::new(Monitoring {}),
// // TODO add monitoring, backups, multisite ha, etc
// ],
// application,
// };
let app = ApplicationScore {
features: vec![
Box::new(ContinuousDelivery {
application: application.clone(),
}),
Box::new(Monitoring {}),
// TODO add monitoring, backups, multisite ha, etc
],
application,