diff --git a/assets/app/views/_pod-template.html b/assets/app/views/_pod-template.html index 9bfd854562e8..da3a76b0fd67 100644 --- a/assets/app/views/_pod-template.html +++ b/assets/app/views/_pod-template.html @@ -61,7 +61,7 @@

{{container.name}}

Ports:
- {{port.containerPort}} ({{port.protocol}}) + {{port.containerPort}} ({{port.protocol}}) {{port.hostPort}} diff --git a/assets/app/views/pods.html b/assets/app/views/pods.html index 098b530462ba..100535ea89b5 100644 --- a/assets/app/views/pods.html +++ b/assets/app/views/pods.html @@ -8,10 +8,58 @@

Pods

{{emptyMessage}}
-
-

{{pod.metadata.name}} ({{pod.status.phase}})

+
+

{{pod.metadata.name}}

+
+ Status: {{pod.status.phase}} + + + + + + +
+
+ Node: {{pod.status.host || 'unknown'}} ({{pod.status.hostIP}}) +
+
+ IP on node: {{pod.status.podIP || 'unknown'}} +
+
+ Restart policy: + + always (restarted {{pod.status.info.POD.restartCount}} times) + + + on failure (restarted {{pod.status.info.POD.restartCount}} times) + + + never (previously restarted {{pod.status.info.POD.restartCount}} times) + +
+
+ Volumes: +
    +
  • +
    {{volume.name}}
    +
    +
    Type: host path
    +
    Path: {{volume.source.hostPath.path}}
    +
    +
    Type: empty directory
    + +
    Type: GCE persistent disk
    +
    +
    Type: Git repository
    +
    Repository: {{volume.source.gitRepo.repository}}
    +
    Revision: {{volume.source.gitRepo.revision}}
    +
    +
  • +
+
+
Pod template:
-
+
diff --git a/pkg/assets/bindata.go b/pkg/assets/bindata.go index 74bfd9a3f9a1..9d67e68f727a 100644 --- a/pkg/assets/bindata.go +++ b/pkg/assets/bindata.go @@ -55724,7 +55724,7 @@ authored by {{build.parameters.revision.git.author.name}} Ports:
-{{port.containerPort}} ({{port.protocol}}) +{{port.containerPort}} ({{port.protocol}}) {{port.hostPort}} @@ -56082,8 +56082,56 @@ var _views_pods_html2 = []byte(`
{{emptyMessage}}
-
-

{{pod.metadata.name}} ({{pod.status.phase}})

+
+

{{pod.metadata.name}}

+
+Status: {{pod.status.phase}} + + + + + + +
+
+Node: {{pod.status.host || 'unknown'}} ({{pod.status.hostIP}}) +
+
+IP on node: {{pod.status.podIP || 'unknown'}} +
+
+Restart policy: + +always (restarted {{pod.status.info.POD.restartCount}} times) + + +on failure (restarted {{pod.status.info.POD.restartCount}} times) + + +never (previously restarted {{pod.status.info.POD.restartCount}} times) + +
+
+Volumes: +
    +
  • +
    {{volume.name}}
    +
    +
    Type: host path
    +
    Path: {{volume.source.hostPath.path}}
    +
    +
    Type: empty directory
    + +
    Type: GCE persistent disk
    +
    +
    Type: Git repository
    +
    Repository: {{volume.source.gitRepo.repository}}
    +
    Revision: {{volume.source.gitRepo.revision}}
    +
    +
  • +
+
+
Pod template: