|
|
|
@ -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>
|
|
|
|
|