-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up markup and alignment in the Troubleshooting section (#3255)
* chore: Fix markup and alignment in the Troubleshooting section * chore: Fix code snippets in cluster-deployment
- Loading branch information
Showing
6 changed files
with
64 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,6 @@ The following steps will help you troubleshoot errors in the event issues arise | |
An instance is launched and terminated every 30 minutes prior to completion of its deployment, and the **Events Tab** | ||
lists errors with the following message: | ||
|
||
<br /> | ||
|
||
```hideClipboard bash | ||
Failed to update kubeadmControlPlane Connection timeout connecting to Kubernetes Endpoint | ||
``` | ||
|
@@ -35,28 +33,30 @@ why a service may fail are: | |
user `spectro`. If you are initiating an SSH session into an installer instance, log in as user `ubuntu`. | ||
|
||
```shell | ||
ssh --identity_file <_pathToYourSSHkey_> [email protected] | ||
ssh --identity_file <_pathToYourSSHkey_> [email protected] | ||
``` | ||
|
||
2. Elevate the user access. | ||
|
||
```shell | ||
sudo -i | ||
sudo -i | ||
``` | ||
|
||
3. Verify the Kubelet service is operational. | ||
|
||
```shell | ||
systemctl status kubelet.service | ||
systemctl status kubelet.service | ||
``` | ||
|
||
4. If the Kubelet service does not work as expected, do the following. If the service operates correctly, you can skip | ||
this step. | ||
|
||
1. Navigate to the **/var/log/** folder. | ||
|
||
```shell | ||
cd /var/log/ | ||
``` | ||
|
||
2. Scan the **cloud-init-output** file for any errors. Take note of any errors and address them. | ||
``` | ||
cat cloud-init-output.log | ||
|
@@ -66,34 +66,36 @@ why a service may fail are: | |
|
||
- Export the kubeconfig file. | ||
|
||
```shell | ||
export KUBECONFIG=/etc/kubernetes/admin.conf | ||
``` | ||
```shell | ||
export KUBECONFIG=/etc/kubernetes/admin.conf | ||
``` | ||
|
||
- Connect with the cluster's Kubernetes API. | ||
```shell | ||
kubectl get pods --all-namespaces | ||
``` | ||
```shell | ||
kubectl get pods --all-namespaces | ||
``` | ||
- When the connection is established, verify the pods are in a _Running_ state. Take note of any pods that are not in | ||
_Running_ state. | ||
```shell | ||
kubectl get pods -o wide | ||
``` | ||
```shell | ||
kubectl get pods -o wide | ||
``` | ||
- If all the pods are operating correctly, verify their connection with the Palette API. | ||
- For clusters using Gateway, verify the connection between the Installer and Gateway instance: | ||
```shell | ||
curl -k https://<KUBE_API_SERVER_IP>:6443 | ||
curl -k https://<KUBE_API_SERVER_IP>:6443 | ||
``` | ||
- For Public Clouds that do not use Gateway, verify the connection between the public Internet and the Kube | ||
endpoint: | ||
```shell | ||
curl -k https://<KUBE_API_SERVER_IP>:6443 | ||
curl -k https://<KUBE_API_SERVER_IP>:6443 | ||
``` | ||
:::info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ unavailable IP addresses for the worker nodes, or the inability to perform a Net | |
9. If the problem persists, download the cluster logs from Palette. The screenshot below will help you locate the button | ||
to download logs from the cluster details page. | ||
|
||
![A screenshot highlighting how to download the cluster logs from Palette.](/troubleshooting-pcg-download_logs.webp) | ||
![A screenshot highlighting how to download the cluster logs from Palette.](/troubleshooting-pcg-download_logs.webp) | ||
|
||
10. Share the logs with our support team at [[email protected]](mailto:[email protected]). | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters