mirror of https://github.com/portainer/portainer
41 lines
1.3 KiB
HTML
41 lines
1.3 KiB
HTML
<kubernetes-view-header title="Cluster" state="kubernetes.cluster" view-ready="ctrl.state.viewReady">
|
|
Cluster information
|
|
</kubernetes-view-header>
|
|
|
|
<kubernetes-view-loading view-ready="ctrl.state.viewReady"></kubernetes-view-loading>
|
|
|
|
<div ng-if="ctrl.state.viewReady">
|
|
<div class="row" ng-if="ctrl.resourceReservation && ctrl.isAdmin">
|
|
<div class="col-sm-12">
|
|
<rd-widget>
|
|
<rd-widget-body>
|
|
<form class="form-horizontal">
|
|
<kubernetes-resource-reservation
|
|
cpu="ctrl.resourceReservation.CPU"
|
|
cpu-limit="ctrl.CPULimit"
|
|
memory="ctrl.resourceReservation.Memory"
|
|
memory-limit="ctrl.MemoryLimit"
|
|
description="Resource reservation represents the total amount of resource assigned to all the applications inside the cluster."
|
|
>
|
|
</kubernetes-resource-reservation>
|
|
</form>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<kubernetes-nodes-datatable
|
|
title-text="Nodes"
|
|
title-icon="fa-hdd"
|
|
dataset="ctrl.nodes"
|
|
table-key="kubernetes.nodes"
|
|
order-by="Name"
|
|
refresh-callback="ctrl.getNodes"
|
|
is-admin="ctrl.isAdmin"
|
|
></kubernetes-nodes-datatable>
|
|
</div>
|
|
</div>
|
|
</div>
|