-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create new ssh client when a ssh session fails
As of now there is a single ssh client created through out the crc start execution which die in between in case of there is VM reboot happen because of MCO or by any way the ssh server doesn't keep alive. This patch will make sure as soon as there is an error during ssh session creation then it creates a new ssh client. In case of proxy update following happen and this patch will avoid the failure. - crc start with proxy config => start the VM and kubelet service - apiserver is up and also machine config operator in action - As soon as machine config operator identify there is an update to proxy resource - MCO reboots the node - As soon as node reboots, existing ssh session failed
- Loading branch information
1 parent
893ee5f
commit 6454980
Showing
2 changed files
with
57 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters