Unable to remove stale units in k8s model

Bug #1991388 reported by Tom Haddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Unassigned

Bug Description

We have a production k8s model with the following `juju status` and `kubectl get pods` output:

https://paste.ubuntu.com/p/z4Mp6gRFht/

As you can see the indico application is scaled to 2 units. We have two active units (indico/0 and indico/1). However, there are also two stale units (indico/1 and indico/2). These were added when we scaled up at one point but we subsequently scaled back. However, as you can see there are no k8s pods for these units, and since there's no way to remove a specific unit in k8s we're unable to clear the stale units from juju status.

Tom Haddon (mthaddon)
tags: added: canonical-is
Revision history for this message
John A Meinel (jameinel) wrote :

Right, and juju itself thinks that the scale *should* be 2 (scale 2 column), and so it isn't like you can do `juju scale indico 2` which would tell juju to remove 2 and 3.

Changed in juju:
importance: Undecided → Medium
status: New → Triaged
tags: added: k8s scale
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.