Skip to content

Commit

Permalink
Display K8S version (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
sthapa authored Jun 16, 2023
1 parent 6891ebd commit 4361218
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions portal/templates/cluster_public_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ <h1>Cluster: {{name}}</h1>
<strong v-if="cluster.metadata.location[0]">Location: {[{cluster.metadata.location[0].desc}]}</strong>
<strong v-else>Location: {[{cluster.metadata.location[0]}]}</strong>
</p>
<p class="lead" v-if="cluster.metadata.version">
<strong>Kubernetes Version:</strong>
{[{cluster.metadata.version}]}
</p>
<p class="lead" v-else>
<strong>Kubernetes Version:</strong>
Unknown
</p>
<p class="lead" v-if="cluster.metadata.nodes">
<strong>Number of Nodes:</strong>
{[{cluster.metadata.nodes.length}]}
Expand Down Expand Up @@ -193,7 +201,7 @@ <h1>Cluster: {{name}}</h1>
</div>
</div>
</div>

</div>

<br/>
Expand Down Expand Up @@ -232,8 +240,8 @@ <h1>Cluster: {{name}}</h1>
</div>
</span>
</div>
</span>
</span>

</div>
</div>
</div>
Expand Down

0 comments on commit 4361218

Please sign in to comment.