Skip to content

Commit

Permalink
Add OSFamily and container-image platform props (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmondal committed Dec 19, 2023
1 parent 05a6dd7 commit b6b8252
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 3 deletions.
4 changes: 3 additions & 1 deletion deployment-examples/docker-compose/scheduler.json
Expand Up @@ -21,7 +21,9 @@
"MAIN_SCHEDULER": {
"simple": {
"supported_platform_properties": {
"cpu_count": "minimum"
"cpu_count": "minimum",
"OSFamily": "priority",
"container-image": "priority"
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions deployment-examples/docker-compose/worker.json
Expand Up @@ -49,6 +49,12 @@
"platform_properties": {
"cpu_count": {
"query_cmd": "nproc"
},
"OSFamily": {
"values": [""]
},
"container-image": {
"values": [""]
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion deployment-examples/terraform/AWS/scripts/cas.json
Expand Up @@ -116,7 +116,9 @@
"MAIN_SCHEDULER": {
"simple": {
"supported_platform_properties": {
"cpu_count": "minimum"
"cpu_count": "minimum",
"OSFamily": "priority",
"container-image": "priority"
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions deployment-examples/terraform/AWS/scripts/scheduler.json
Expand Up @@ -114,6 +114,8 @@
"cpu_arch": "exact",
"memory_kb": "minimum",
"kernel_version": "exact",
"OSFamily": "priority",
"container-image": "priority"
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions deployment-examples/terraform/AWS/scripts/worker.json
Expand Up @@ -105,6 +105,12 @@
},
"kernel_version": {
"query_cmd": "uname -r"
},
"OSFamily": {
"values": [""]
},
"container-image": {
"values": [""]
}
}
}
Expand Down
Expand Up @@ -80,7 +80,9 @@
"MAIN_SCHEDULER": {
"simple": {
"supported_platform_properties": {
"cpu_count": "minimum"
"cpu_count": "minimum",
"OSFamily": "priority",
"container-image": "priority"
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions deployment-examples/terraform/GCP/module/scripts/worker.json
Expand Up @@ -79,6 +79,12 @@
"platform_properties": {
"cpu_count": {
"query_cmd": "nproc"
},
"OSFamily": {
"values": [""]
},
"container-image": {
"values": [""]
}
}
}
Expand Down

0 comments on commit b6b8252

Please sign in to comment.