mirror of https://github.com/portainer/portainer
show ip address of pod (#5613)
parent
8aa03bb81b
commit
6ac9c4367e
|
@ -99,6 +99,13 @@
|
|||
<i class="fa fa-sort-alpha-up" aria-hidden="true" ng-if="$ctrl.state.orderBy === 'Node' && $ctrl.state.reverseOrder"></i>
|
||||
</a>
|
||||
</th>
|
||||
<th>
|
||||
<a ng-click="$ctrl.changeOrderBy('IP')">
|
||||
Pod IP
|
||||
<i class="fa fa-sort-alpha-down" aria-hidden="true" ng-if="$ctrl.state.orderBy === 'IP' && !$ctrl.state.reverseOrder"></i>
|
||||
<i class="fa fa-sort-alpha-up" aria-hidden="true" ng-if="$ctrl.state.orderBy === 'IP' && $ctrl.state.reverseOrder"></i>
|
||||
</a>
|
||||
</th>
|
||||
<th>
|
||||
<a ng-click="$ctrl.changeOrderBy('CreationDate')">
|
||||
Creation date
|
||||
|
@ -129,6 +136,7 @@
|
|||
</span>
|
||||
<span ng-if="!item.Node">-</span>
|
||||
</td>
|
||||
<td>{{ item.PodIP }}</td>
|
||||
<td>{{ item.CreationDate | getisodate }}</td>
|
||||
<td>
|
||||
<a
|
||||
|
|
|
@ -68,6 +68,7 @@ function computeContainers(data) {
|
|||
const res = new KubernetesPodContainer();
|
||||
res.Type = KubernetesPodContainerTypes.APP;
|
||||
res.PodName = data.metadata.name;
|
||||
res.PodIP = data.status.podIP;
|
||||
res.Name = item.name;
|
||||
res.Image = item.image;
|
||||
res.ImagePullPolicy = item.imagePullPolicy;
|
||||
|
|
Loading…
Reference in New Issue