I have some machines with some unit files placed into /etc/systemd/system.
These machines have physical drives attached and unit files to mount file systems and start databases.
Although these machines are part of the CoreOS cluster and can run other things, some units I wouldn't want to schedule there.
Unfortunately, suppose I have a unit /etc/systemd/system/mysql.service and then schedule another unit with fleet and place Conflicts=mysql.service, it causes the scheduler to hang when trying to schedule the unit.
Also, fleet only has the ability to work with glob patters in Go which seem to be very limited.
It would seem natural to me to be able to specify things like:
MachineOf = ! machineA
But I understand that doesn't make sense for the way MachineOf works. Because the inverse of ! machineA would be every other machine in the cluster. I suppose if you are only scheduling a single unit then this would make sense.
Another option would be to have Conflicts= take a machine id as well.
Are there any planned improvements in the pipeline around this area?