From 41fe33dd0737dd82722eab5b84833ac27a817731 Mon Sep 17 00:00:00 2001 From: Amanda Churi Filanowski Date: Fri, 20 Dec 2024 11:06:59 -0500 Subject: [PATCH] Added procedure and validation to Disable Maintenance Mode section --- .../cluster-management/maintenance-mode.md | 43 +++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/docs/docs-content/clusters/cluster-management/maintenance-mode.md b/docs/docs-content/clusters/cluster-management/maintenance-mode.md index 9845953586..d659f064e1 100644 --- a/docs/docs-content/clusters/cluster-management/maintenance-mode.md +++ b/docs/docs-content/clusters/cluster-management/maintenance-mode.md @@ -49,7 +49,7 @@ Palette reminds you in several locations that you have a node in maintenance mod ![Node in maintenance mode](/clusters_cluster-management_maintenance_mode.webp) -## Validate +### Validate 1. Log in to [Palette](https://console.spectrocloud.com). @@ -80,10 +80,47 @@ Palette reminds you in several locations that you have a node in maintenance mod ## Disable Maintenance Mode -When you are ready to change the node back to a schedulable state, select the three-dot **Menu** beside the maintenance node, and **Turn off maintenance mode**. +1. Log in to [Palette](https://console.spectrocloud.com). + +2. Navigate to the left **Main Menu** and select **Clusters**. + +3. Select the desired cluster and navigate to the **Nodes** tab of the cluster. + +4. Select the **three-dot Menu** beside the maintenance node and **Turn off maintenance mode**. + +5. When maintenance mode is disabled, the **Health** icon reverts to a checkmark. :::info Taking a node out of maintenance mode does not automatically rebalance workloads. -::: \ No newline at end of file +::: + +### Validate + +1. Log in to [Palette](https://console.spectrocloud.com). + +2. Navigate to the left **Main Menu** and select **Clusters** + +3. Select the desired cluster and download the [kubeconfig](./kubeconfig.md) file. + +![The cluster details page with the two Kubeconfig files elements highlighted](/clusters_cluster--management_kubeconfig_cluster-details-kubeconfig-files.webp) + +4. Open a terminal window and set the environment variable `KUBECONFIG` to point to the kubeconfig file you downloaded. + + ```bash + export KUBECONFIG=~/Downloads/admin.aws-maintenance-test.kubeconfig + ``` + +5. Confirm that scheduling is no longer disabled for the node, indictated by a `STATUS` of `Ready`. + + ```bash + kubectl get nodes + ``` + + ```bash hideClipboard + NAME STATUS ROLES AGE VERSION + ip-10-0-1-174.ec2.internal Ready control-plane 177m v1.30.6 + ip-10-0-1-26.ec2.internal Ready 174m v1.30.6 + ip-10-0-1-235.ec2.internal Ready 174m v1.30.6 + ``` \ No newline at end of file