Skip to content

Commit 4506d77

Browse files
authored
Merge pull request #44162 from my-git9/verify-kubectl-en1
improve format for included/verify-kubectl.md
2 parents 280f19a + 5acc639 commit 4506d77

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

content/en/docs/tasks/tools/included/verify-kubectl.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ kubectl cluster-info
2323

2424
If you see a URL response, kubectl is correctly configured to access your cluster.
2525

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.
2728

2829
```
2930
The connection to the server <server-name:port> was refused - did you specify the right host or port?
3031
```
3132

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.
3335

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:
3538

3639
```shell
3740
kubectl cluster-info dump
@@ -40,9 +43,10 @@ kubectl cluster-info dump
4043
### Troubleshooting the 'No Auth Provider Found' error message {#no-auth-provider-found}
4144

4245
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:
4448

45-
* Azure AKS: [kubelogin plugin](https://azure.github.io/kubelogin/)
49+
* Azure AKS: [kubelogin plugin](https://azure.github.io/kubelogin/)
4650
* Google Kubernetes Engine: [gke-gcloud-auth-plugin](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin)
4751

4852
(There could also be other reasons to see the same error message, unrelated to that change.)

0 commit comments

Comments
 (0)