Current situation
The current implementation of run-command command has the following limitation:
- Scripts that prompt for information (interactive mode) aren't supported.
Ref: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/run-command#restrictions
Ideal future situation
After implementing #24, we could reuse that logic to support interactive mode. If we are not able to support it without passing through Kubernetes, then the run-command should first try the interactive mode and automatically fallback to non-interactive mode if it fails (Kubernetes control plane is down).
Current situation
The current implementation of
run-commandcommand has the following limitation:Ref: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/run-command#restrictions
Ideal future situation
After implementing #24, we could reuse that logic to support interactive mode. If we are not able to support it without passing through Kubernetes, then the
run-commandshould first try the interactive mode and automatically fallback to non-interactive mode if it fails (Kubernetes control plane is down).