fix kube namespace memory usage data-cy (#7294)

pull/4440/merge
wheresolivia 2 years ago committed by GitHub
parent 23b9baa059
commit e07253bcef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,13 +9,8 @@
</div>
<div class="form-group" ng-if="$ctrl.memoryLimit !== 0">
<label for="memory-reservation" class="col-sm-3 col-lg-2 control-label text-left"> Memory reservation </label>
<div class="col-sm-9" style="margin-top: 4px">
<uib-progressbar
animate="false"
value="$ctrl.memoryReservationPercent"
type="{{ $ctrl.memoryReservationPercent | kubernetesUsageLevelInfo }}"
data-cy="k8sNamespaceDetail-memoryUsage"
></uib-progressbar>
<div class="col-sm-9" style="margin-top: 4px" data-cy="k8sNamespaceDetail-memoryUsage">
<uib-progressbar animate="false" value="$ctrl.memoryReservationPercent" type="{{ $ctrl.memoryReservationPercent | kubernetesUsageLevelInfo }}"></uib-progressbar>
<span> {{ $ctrl.memoryReservation }} / {{ $ctrl.memoryLimit }} MB - {{ $ctrl.memoryReservationPercent }}% </span>
</div>
</div>

Loading…
Cancel
Save