Kubernetes: Remove Duplicate SSH Execution in masterExec
Written by Alessio on 2/12/2026
Problem
The masterExec function was executing SSH commands twice. This caused duplicate operations, potential side effects, and wasted resources.
Solution
Identified and removed the duplicate SSH execution path. The command is now executed once with proper result handling.
Result
SSH commands execute exactly once. No more duplicate operations or side effects from repeated execution.
Commit: kubernetes/kubernetes@4810a2a