eraser icon indicating copy to clipboard operation
eraser copied to clipboard

Make collector pod's status clearer

Open jiashun0011 opened this issue 3 years ago • 2 comments

Describe the solution you'd like

When the collector pod is running, its status shows like "NotReady" which may confuse clients.

Can you make the pod's status as Running even though either scanner or eraser is not ready?

$ kubectl get pods --all-namespaces
NAMESPACE       NAME                                            READY   STATUS     RESTARTS      AGE
eraser-system   collector-aks-nodes-11597922-vmss000000-dpkqt   2/3     NotReady   0             19s
eraser-system   eraser-controller-manager-7ddc6c4fdb-z9lzp      1/1     Running    0             21s

jiashun0011 avatar Sep 07 '22 05:09 jiashun0011

I encountered this as well when testing out eraser. Specifically, it's the collector container within the collector-aks-nodes-11597922-vmss000000-... pod that registers as NotReady.

I think what's happening is that the collector pod runs to completion and is therefore unresponsive. In order to keep it Ready, we could have it idle until the erasure process is complete.

pmengelbert avatar Oct 17 '22 13:10 pmengelbert

@jiashun0011 @salaxander PR #430 has been opened to address this

pmengelbert avatar Oct 17 '22 19:10 pmengelbert