You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/tasks/tools/included/verify-kubectl.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,15 +23,18 @@ kubectl cluster-info
23
23
24
24
If you see a URL response, kubectl is correctly configured to access your cluster.
25
25
26
-
If you see a message similar to the following, kubectl is not configured correctly or is not able to connect to a Kubernetes cluster.
26
+
If you see a message similar to the following, kubectl is not configured correctly
27
+
or is not able to connect to a Kubernetes cluster.
27
28
28
29
```
29
30
The connection to the server <server-name:port> was refused - did you specify the right host or port?
30
31
```
31
32
32
-
For example, if you are intending to run a Kubernetes cluster on your laptop (locally), you will need a tool like Minikube to be installed first and then re-run the commands stated above.
33
+
For example, if you are intending to run a Kubernetes cluster on your laptop (locally),
34
+
you will need a tool like Minikube to be installed first and then re-run the commands stated above.
33
35
34
-
If kubectl cluster-info returns the url response but you can't access your cluster, to check whether it is configured properly, use:
36
+
If kubectl cluster-info returns the url response but you can't access your cluster,
37
+
to check whether it is configured properly, use:
35
38
36
39
```shell
37
40
kubectl cluster-info dump
@@ -40,9 +43,10 @@ kubectl cluster-info dump
40
43
### Troubleshooting the 'No Auth Provider Found' error message {#no-auth-provider-found}
41
44
42
45
In Kubernetes 1.26, kubectl removed the built-in authentication for the following cloud
43
-
providers' managed Kubernetes offerings. These providers have released kubectl plugins to provide the cloud-specific authentication. For instructions, refer to the following provider documentation:
46
+
providers' managed Kubernetes offerings. These providers have released kubectl plugins
47
+
to provide the cloud-specific authentication. For instructions, refer to the following provider documentation:
0 commit comments