Skip to content

Commit

Permalink
Fix kubernetes#12764 - Update troubleshooting-kubeadm doc (kubernetes…
Browse files Browse the repository at this point in the history
  • Loading branch information
daminisatya authored and yagonobre committed Mar 14, 2019
1 parent 0e0f45b commit 8b80337
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion content/en/docs/setup/independent/troubleshooting-kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ This may be caused by a number of problems. The most common are:
```

There are two common ways to fix the cgroup driver problem:

1. Install Docker again following instructions
[here](/docs/setup/independent/install-kubeadm/#installing-docker).
1. Change the kubelet config to match the Docker cgroup driver manually, you can refer to
Expand Down Expand Up @@ -154,6 +154,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.
- Unset the `KUBECONFIG` environment variable using:

```sh
unset KUBECONFIG
```

Or set it to the default `KUBECONFIG` location:

```sh
export KUBECONFIG=/etc/kubernetes/admin.conf
```

- Another workaround is to overwrite the existing `kubeconfig` for the "admin" user:

```sh
Expand Down

0 comments on commit 8b80337

Please sign in to comment.