I am hoping for some clarification here, since the official SaltStack docs are a bit unclear.
In order to set the
ssl configuration options in the master and minion config files, is it
mandatory to also set
'transport: tcp' in the configs to force TLS encryption? Or will setting only the 'ssl' options in the master and minion configs enable TLS encryption in the default ZeroMQ transport facility?
The reason I ask is that I enabled 'transport: tcp' as well as the 'ssl' options yesterday on our deployment of ~1K minions, and the performance impact is substantial. The master went from using ~2-4GB of RAM to using up to 30GB of RAM with no other change. I also had to double the CPU count from 4 to 8 to handle working through the backlog when restarting the master.
Some clarification here would be much appreciated. If I can simply set the 'ssl' options and remove the 'transport: tcp' option (to use ZeroMQ) to enforce encrypted traffic, that would be fantastic.
Thanks.