-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #12764 - Update troubleshooting-kubeadm doc #12825
Conversation
/assign @neolit123 |
Deploy preview for kubernetes-io-master-staging ready! Built with commit b47db0e https://deploy-preview-12825--kubernetes-io-master-staging.netlify.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @daminisatya
suggested a couple of minor changes.
@@ -155,6 +155,18 @@ Unable to connect to the server: x509: certificate signed by unknown authority ( | |||
regenerate a certificate if necessary. The certificates in a kubeconfig file | |||
are base64 encoded. The `base64 -d` command can be used to decode the certificate | |||
and `openssl x509 -text -noout` can be used for viewing the certificate information. | |||
- Verify that the env variable `KUBECONFIG` is set to `NULL` using: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unset the the
KUBECONFIG
environment variable using:
unset KUBECONFIG | ||
``` | ||
|
||
Or set it to the correct config file using: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or set it to the default kubeconfig location:
@neolit123 Thank you for the review! I updated the PR with the suggestions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Checked the updates on: https://deploy-preview-12825--kubernetes-io-master-staging.netlify.com/docs/setup/independent/troubleshooting-kubeadm/ /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Rajakavitha1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
#12764
@neolit123