containerops
containerops copied to clipboard
Deploy cluster in parallel
Current deploying cluster in parallel with singular will fail, the reason is that the SSH commands direct both stdio and stderr to the same stream, which is not handled by a locker, so somethings the stream content would be empty(stdio flushes the correct result, no error occurs, then stderr flushes the empty content).
To solve this, just pass 2 readers to SSH commands, receive stdio and stderr separately.