Skip to content

Commit 9b69ed8

Browse files
author
Lion-Wei
authored
Update troubleshooting.md
1 parent 6ef6343 commit 9b69ed8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/troubleshooting.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ $ kubectl exec test-701078429-s5kca -- curl --cacert /var/run/secrets/kubernetes
136136

137137
If it is not working, there are two possible reasons:
138138

139-
1. The contents of the tokens is invalid. Find the secret name with `kubectl get secrets | grep service-account` and
139+
1. The contents of the tokens are invalid. Find the secret name with `kubectl get secrets | grep service-account` and
140140
delete it with `kubectl delete secret <name>`. It will automatically be recreated.
141141

142142
2. You have a non-standard Kubernetes installation and the file containing the token
@@ -153,7 +153,7 @@ More information:
153153
* [User Guide: Service Accounts](http://kubernetes.io/docs/user-guide/service-accounts/)
154154
* [Cluster Administrator Guide: Managing Service Accounts](http://kubernetes.io/docs/admin/service-accounts-admin/)
155155

156-
## kubeconfig
156+
## Kubeconfig
157157
If you want to use a kubeconfig file for authentication, create a deployment file similar to the one below:
158158

159159
*Note:* the important part is the flag `--kubeconfig=/etc/kubernetes/kubeconfig.yaml`.
@@ -294,4 +294,4 @@ spec:
294294
- name: "kubeconfig"
295295
hostPath:
296296
path: "/etc/kubernetes/"
297-
```
297+
```

0 commit comments

Comments
 (0)