This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Description
Updating Kubernetes scheduler config using the script & (GAS) config in this repo, breaks Kubernetes 1.26 config:
./telemetry-aware-scheduling/deploy/extender-configuration/configure-scheduler.sh -f ./gpu-aware-scheduling/deploy/extender-configuration/scheduler-config-tas+gas.yaml
It messed up the last volume specification in the config so that there were couple of extra lines for the last volume specification.
Besides fixing that in the script, I think script should take a backup of the config file, and show user a diff of the changes it did.
Maybe also ask user whether changes should be accepted (unless something like "--yes" is specified), like e.g. Debian configuration packages script updates do.
You might also consider using kustomize to do the file updates, as that is actually designed for semantic updating of k8s YAML files.
(Which still leaves the issue of upgrade overwriting the changes, as mentioned in #86.)