Skip to content

Commit ed67197

Browse files
Minor updates
1 parent cbaa42e commit ed67197

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/views/browse/stateful-set.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1>
3939
group="apps"
4040
resource-name="{{statefulSet.metadata.name}}"
4141
project-name="{{statefulSet.metadata.namespace}}"
42-
replicas="statefulSet.status.replicas"
42+
replicas="statefulSet.spec.replicas"
4343
alerts="alerts">
4444
</delete-link>
4545
</li>
@@ -73,8 +73,6 @@ <h1>
7373
<status-icon status="statefulSet | deploymentStatus"></status-icon>
7474
{{statefulSet | deploymentStatus}}
7575
</dd>
76-
<dt ng-if-start="statefulSet | annotation:'deploymentStatusReason'">Status Reason:</dt>
77-
<dd ng-if-end>{{statefulSet | annotation:'deploymentStatusReason'}}</dd>
7876
<dt>Replicas:</dt>
7977
<dd>
8078
<!--

app/views/deployments.html

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ <h3>StatefulSets</h3>
4646
<td data-title="Status">
4747
<status-icon status="statefulSet | deploymentStatus"></status-icon>
4848
{{statefulSet | deploymentStatus}}<span ng-if="(statefulSet | deploymentStatus) === 'Active' || (statefulSet | deploymentStatus) === 'Running'">,
49+
<!--
50+
statefulSet.status.replicas vs statefulSet.spec.replicas ?
51+
-->
4952
<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>
5053
</td>
5154
<td data-title="Created">

0 commit comments

Comments
 (0)