File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 39
39
group ="apps "
40
40
resource-name ="{{statefulSet.metadata.name}} "
41
41
project-name ="{{statefulSet.metadata.namespace}} "
42
- replicas ="statefulSet.status .replicas "
42
+ replicas ="statefulSet.spec .replicas "
43
43
alerts ="alerts ">
44
44
</ delete-link >
45
45
</ li >
73
73
< status-icon status ="statefulSet | deploymentStatus "> </ status-icon >
74
74
{{statefulSet | deploymentStatus}}
75
75
</ dd >
76
- < dt ng-if-start ="statefulSet | annotation:'deploymentStatusReason' "> Status Reason:</ dt >
77
- < dd ng-if-end > {{statefulSet | annotation:'deploymentStatusReason'}}</ dd >
78
76
< dt > Replicas:</ dt >
79
77
< dd >
80
78
<!--
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ <h3>StatefulSets</h3>
46
46
< td data-title ="Status ">
47
47
< status-icon status ="statefulSet | deploymentStatus "> </ status-icon >
48
48
{{statefulSet | deploymentStatus}}< span ng-if ="(statefulSet | deploymentStatus) === 'Active' || (statefulSet | deploymentStatus) === 'Running' "> ,
49
+ <!--
50
+ statefulSet.status.replicas vs statefulSet.spec.replicas ?
51
+ -->
49
52
< span ng-if ="statefulSet.spec.replicas !== statefulSet.status.replicas "> {{statefulSet.status.replicas}}/</ span > {{statefulSet.spec.replicas}} replica< span ng-if ="statefulSet.spec.replicas !== 1 "> s</ span > </ span >
50
53
</ td >
51
54
< td data-title ="Created ">
You can’t perform that action at this time.
0 commit comments