|
|
@ -9,13 +9,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group" ng-if="$ctrl.memoryLimit !== 0">
|
|
|
|
<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>
|
|
|
|
<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">
|
|
|
|
<div class="col-sm-9" style="margin-top: 4px" data-cy="k8sNamespaceDetail-memoryUsage">
|
|
|
|
<uib-progressbar
|
|
|
|
<uib-progressbar animate="false" value="$ctrl.memoryReservationPercent" type="{{ $ctrl.memoryReservationPercent | kubernetesUsageLevelInfo }}"></uib-progressbar>
|
|
|
|
animate="false"
|
|
|
|
|
|
|
|
value="$ctrl.memoryReservationPercent"
|
|
|
|
|
|
|
|
type="{{ $ctrl.memoryReservationPercent | kubernetesUsageLevelInfo }}"
|
|
|
|
|
|
|
|
data-cy="k8sNamespaceDetail-memoryUsage"
|
|
|
|
|
|
|
|
></uib-progressbar>
|
|
|
|
|
|
|
|
<span> {{ $ctrl.memoryReservation }} / {{ $ctrl.memoryLimit }} MB - {{ $ctrl.memoryReservationPercent }}% </span>
|
|
|
|
<span> {{ $ctrl.memoryReservation }} / {{ $ctrl.memoryLimit }} MB - {{ $ctrl.memoryReservationPercent }}% </span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|