Skip to main content

Service Manager configuration

Example
{
"CACert": "/etc/ssl/certs/Aos_Root_CA.pem",
"CertStorage": "sm",
"IAMProtectedServerURL": "node0:8089",
"IAMPublicServerURL": "node0:8090",
"CMServerURL": "node0:8093",
"WorkingDir": "/var/aos/workdirs/sm",
"ServicesDir": "/var/aos/workdirs/sm/services",
"ServicesPartLimit": 40,
"LayersDir": "/var/aos/workdirs/sm/layers",
"LayersPartLimit": 40,
"LayerTtlDays": 40,
"ServiceHealthCheckTimeout": "10s",
"StateDir": "/var/aos/states",
"StorageDir": "/var/aos/storages",
"DownloadDir": "/var/aos/servicemanager/download",
"ExtractDir": "/var/aos/servicemanager/extract",
"RemoteNode": true,
"RunnerFeatures": [
"crun",
"runc"
],
"UnitConfigFile": "/var/aos/workdirs/sm/aos_unit.cfg",
"Monitoring": {
"Partitions": [
{
"Name": "storages",
"Types": [
"storages"
],
"Path": "/var/aos/storages"
},
{
"Name": "states",
"Types": [
"states"
],
"Path": "/var/aos/states"
},
{
"Name": "workdirs",
"Types": [
"services",
"layers",
"generic"
],
"Path": "/var/aos/workdirs"
},
{
"Name": "var",
"Types": [
"generic"
],
"Path": "/var"
}
],
"ram": {
"minTimeout": "10s",
"minThreshold": 10,
"maxThreshold": 150
},
"cpu": {
"minTimeout": "10s",
"minThreshold": 10,
"maxThreshold": 150
},
"outTraffic": {
"minTimeout": "20s",
"minThreshold": 10,
"maxThreshold": 150
}
},
"Migration": {
"MigrationPath": "/usr/share/aos/sm/migration",
"MergedMigrationPath": "/var/aos/workdirs/sm/migration"
}
}