diff --git a/rootfs/api/models/app.py b/rootfs/api/models/app.py index e1e702d4..c01bfecb 100644 --- a/rootfs/api/models/app.py +++ b/rootfs/api/models/app.py @@ -563,7 +563,7 @@ def list_deployments(self, *args, **kwargs): 'release': labels['version'], 'ready': "%s/%s" % ( p["status"].get("readyReplicas", 0), - p["status"].get("replicas", 0), + p['spec'].get("replicas", 0), ), 'garbage': False if labels['type'] in ptypes else True, 'up_to_date': p["status"].get("updatedReplicas", 0),