This commit is contained in:
parent
cc4529617c
commit
81bee7e12a
@ -21,21 +21,6 @@ use harmony::{
|
|||||||
async fn main() {
|
async fn main() {
|
||||||
env_logger::init();
|
env_logger::init();
|
||||||
|
|
||||||
let tenant = TenantScore {
|
|
||||||
config: TenantConfig {
|
|
||||||
id: Id::from_string("1234".to_string()),
|
|
||||||
name: "harmonydemo-staging".to_string(),
|
|
||||||
resource_limits: ResourceLimits {
|
|
||||||
cpu_request_cores: 6.0,
|
|
||||||
cpu_limit_cores: 4.0,
|
|
||||||
memory_request_gb: 4.0,
|
|
||||||
memory_limit_gb: 4.0,
|
|
||||||
storage_total_gb: 10.0,
|
|
||||||
},
|
|
||||||
network_policy: TenantNetworkPolicy::default(),
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
let topology = K8sAnywhereTopology::from_env();
|
let topology = K8sAnywhereTopology::from_env();
|
||||||
let mut maestro = Maestro::initialize(Inventory::autoload(), topology)
|
let mut maestro = Maestro::initialize(Inventory::autoload(), topology)
|
||||||
.await
|
.await
|
||||||
|
Loading…
Reference in New Issue
Block a user