-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improving UX for kops validate cluster
Before the `kops validate cluster` attempts to connect to the K8s API endpoint, the code now checks to see if the API DNS Entry is the kops placeholder IP Address 203.0.113.123. It prints a message to the user and err's. There is a new init func in validate cluster that disables CGO based DNS for Darwin OS. Darwin does two things with kops validates; it caches the IP address, and it does not return the placeholder IP address. We cannot use CGO base DNS with kops validate.
- Loading branch information
1 parent
2b2b597
commit c7ef856
Showing
3 changed files
with
59 additions
and
0 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
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