cli icon indicating copy to clipboard operation
cli copied to clipboard

Listing node-pool's has multiple entries for same UID

Open NerdyShawn opened this issue 1 year ago • 0 comments

Added a net new Node-Pool to existing type=k3s cluster with a single node via UI today. The ui looks proper but the CLI for some reason was listing the same node twice.

date && civo version && civo k8s node-pool ls test01
Fri Apr 19 08:43:55 AM EDT 2024
A newer version (v1.0.81) is available, please upgrade with "civo update"
Civo CLI v1.0.80

Node Pool 90ab1b3e-d68b-4f0b-b618-69e567535238:
+--------------------------------------+----------------+-------+--------+--------+
| Name                                 | Size           | Count | Labels | Taints |
+--------------------------------------+----------------+-------+--------+--------+
| 90ab1b3e-d68b-4f0b-b618-69e567535238 | g4s.kube.large |     1 | {}     | []     |
+--------------------------------------+----------------+-------+--------+--------+

Node Pool 676be50f-9fbe-4bc7-a578-f81c35f91466:
+--------------------------------------+-----------------+-------+--------+--------+
| Name                                 | Size            | Count | Labels | Taints |
+--------------------------------------+-----------------+-------+--------+--------+
| 676be50f-9fbe-4bc7-a578-f81c35f91466 | g4s.kube.xsmall |     1 | {}     | []     |
+--------------------------------------+-----------------+-------+--------+--------+
| 676be50f-9fbe-4bc7-a578-f81c35f91466 | g4s.kube.xsmall |     1 | {}     | []     |
+--------------------------------------+-----------------+-------+--------+--------+

I was behind a minor version on CLI, but bumping to the latest still displayed the same node UID twice.

date && civo version && civo k8s node-pool ls test01
Fri Apr 19 08:44:52 AM EDT 2024
Civo CLI v1.0.81

Node Pool 90ab1b3e-d68b-4f0b-b618-69e567535238:
+--------------------------------------+----------------+-------+--------+--------+
| Name                                 | Size           | Count | Labels | Taints |
+--------------------------------------+----------------+-------+--------+--------+
| 90ab1b3e-d68b-4f0b-b618-69e567535238 | g4s.kube.large |     1 | {}     | []     |
+--------------------------------------+----------------+-------+--------+--------+

Node Pool 676be50f-9fbe-4bc7-a578-f81c35f91466:
+--------------------------------------+-----------------+-------+--------+--------+
| Name                                 | Size            | Count | Labels | Taints |
+--------------------------------------+-----------------+-------+--------+--------+
| 676be50f-9fbe-4bc7-a578-f81c35f91466 | g4s.kube.xsmall |     1 | {}     | []     |
+--------------------------------------+-----------------+-------+--------+--------+
| 676be50f-9fbe-4bc7-a578-f81c35f91466 | g4s.kube.xsmall |     1 | {}     | []     |
+--------------------------------------+-----------------+-------+--------+--------+

Here is the UI view image

NerdyShawn avatar Apr 19 '24 12:04 NerdyShawn