mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 02:09:41 +02:00
fix kube namespace memory usage data-cy (#7294)
This commit is contained in:
parent
23b9baa059
commit
e07253bcef
1 changed files with 2 additions and 7 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue