loft-sh / loft

Namespace & Virtual Cluster Manager for Kubernetes - Lightweight Virtual Clusters, Self-Service Provisioning for Engineers and 70% Cost Savings with Sleep Mode
https://loft.sh/docs/introduction
Other
737 stars 65 forks source link

Status on UI and namespace(space) are not in sync #187

Open bagulm123 opened 2 years ago

bagulm123 commented 2 years ago

As per the message in confirmation box, the pods in the namespace are scaled down to zero; but I see all pods are running in the kube-system namespace even after I put the space to sleep

Confirmation Box

data on UI and status of pods are not matching

FabianKramm commented 2 years ago

@mahendrabagul thanks for creating this issue! I guess the kube system namespace is a little bit special here as those pods do not have a replica set or statefulset as owner. In general its not a good idea as well to let kube system sleeping as it would kill the cluster essentially completely, so this is more or less working as intended

bagulm123 commented 2 years ago

@FabianKramm Yeah agree. However, can we show the same on the UI by some mean? This will just let use know that the kube-system namespace cant be put to sleep. :D

FabianKramm commented 2 years ago

@mahendrabagul yeah makes sense, we should do that :D