Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cni: network.cni job updates should replace allocs (#23764)
a change to the network{cni{}} block means that the user wants the network config to change, and that only happens during initial alloc setup, so we need to replace the alloc(s) to get fresh network(s) to reconfigure from scratch. e.g. a job plan diff like this ``` +/- Task Group: "g" (1 in-place update) + Network { + CNIConfig { + a: "ayy" } ``` should instead be ``` +/- Task Group: "g" (1 create/destroy update) + Network { + CNIConfig { + a: "ayy" } ```
- Loading branch information