Download kubeconfig after shutting down harvester cluster

  • Related issues: #1475 After shutting down the cluster the kubeconfig becomes invalid

Category:

  • Host

Verification Steps

  1. Shutdown harvester node 3, wait for fully power off

  2. Shutdown harvester node 2, wait for fully power off

  3. Shutdown harvester node 1, wait for fully power off

  4. Wait for more than hours or over night

  5. Power on node 1 to console page until you see management url image

  6. Power on node 2 to console page until you see management url

  7. Power on node 3 to console page until you see management url

  8. Confirm all nodes are in Ready status

  9. Access harvester dashboard

  10. Go to setting and click Download Kubeconfig image

  11. ssh to each node and run kubectl get pods -A

Expected Results

  1. Shutdown all 3 harvester cluster nodes machines and start after hours, can download the KubeConfig without error.
  2. Can run kubectl on all nodes correctly too.