Show cluster health status

1. Show health status on cluster list table
2. Show health status and health status reason on the cluster
   details page

Change-Id: I4d0751fc39d90cddc909b28ca0767bc811b6c3b8
Task: 39794
Story: 2007682
This commit is contained in:
Feilong Wang 2020-05-16 11:10:43 +12:00
parent 0a1150ebdd
commit a1e24b172f
3 changed files with 21 additions and 0 deletions

View File

@ -73,6 +73,9 @@
.setProperty('status', {
label: gettext('Status')
})
.setProperty('health_status', {
label: gettext('Health Status')
})
.setProperty('master_count', {
label: gettext('Master Count')
})
@ -99,6 +102,10 @@
id: 'status',
priority: 1
})
.append({
id: 'health_status',
priority: 1
})
.append({
id: 'master_count',
priority: 2
@ -146,6 +153,11 @@
{label: gettext('UPDATE IN PROGRESS'), key: 'UPDATE_IN_PROGRESS'}
]
})
.append({
'label': gettext('Health Status'),
'name': 'health_status',
'singleton': true
})
.append({
'label': gettext('Master Count'),
'name': 'master_count',

View File

@ -101,6 +101,10 @@
<dd>{$ ctrl.cluster.status $}</dd>
<dt translate>Status Reason</dt>
<dd>{$ ctrl.cluster.status_reason | noValue $}</dd>
<dt translate>Health Status</dt>
<dd>{$ ctrl.cluster.health_status $}</dd>
<dt translate>Health Status Reason</dt>
<dd>{$ ctrl.cluster.health_status_reason | noValue $}</dd>
</dl>
</div>
</div>

View File

@ -0,0 +1,5 @@
---
features:
- |
Show health status on cluster list table and show health status
and health status reason on the cluster details page.