inercia / k3x

A UI for local Kubernetes clusters created with k3d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On cluster recycle, choose the oldest cluster

inercia opened this issue · comments

When we recycle a cluster we are

  1. creating a new cluster
  2. activating a random cluster among the remaining clusters
  3. destroing a random cluster among the remaining clusters.

We should sort clusters by age and 1) destroy the oldest cluster 2) activate the next cluster in age.