Merge pull request #1195 from Lion-Wei/patch-9

Update troubleshooting.md
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-08-21 07:44:27 -04:00 committed by GitHub
commit f80f00e6a5

View file

@ -136,7 +136,7 @@ $ kubectl exec test-701078429-s5kca -- curl --cacert /var/run/secrets/kubernetes
If it is not working, there are two possible reasons:
1. The contents of the tokens is invalid. Find the secret name with `kubectl get secrets | grep service-account` and
1. The contents of the tokens are invalid. Find the secret name with `kubectl get secrets | grep service-account` and
delete it with `kubectl delete secret <name>`. It will automatically be recreated.
2. You have a non-standard Kubernetes installation and the file containing the token
@ -153,7 +153,7 @@ More information:
* [User Guide: Service Accounts](http://kubernetes.io/docs/user-guide/service-accounts/)
* [Cluster Administrator Guide: Managing Service Accounts](http://kubernetes.io/docs/admin/service-accounts-admin/)
## kubeconfig
## Kubeconfig
If you want to use a kubeconfig file for authentication, create a deployment file similar to the one below:
*Note:* the important part is the flag `--kubeconfig=/etc/kubernetes/kubeconfig.yaml`.