1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

show ip address of pod (#5613)

This commit is contained in:
Richard Wei 2021-09-23 14:34:24 +12:00 committed by GitHub
parent 8aa03bb81b
commit 6ac9c4367e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

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