mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(node): Show which IP address / port the cluster API is listening on (#4134)
* feat(cluster): add kubernetes endpoint resource * feat(cluster): add kubernetes endpoint service * feat(node): Show which IP address / port the cluster API is listening on * fix(cluster): support multi-master clusters * fix(cluster): support multi-master clusters * feat(k8s/cluster): minor UI update * refactor(k8s/cluster): rename variable * refactor(k8s/endpoints): refactor KubernetesEndpointsFactory Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
This commit is contained in:
parent
6756b04b67
commit
148ccd1bc4
9 changed files with 110 additions and 8 deletions
|
@ -18,7 +18,16 @@
|
|||
<tbody ng-if="ctrl.node">
|
||||
<tr>
|
||||
<td>Hostname</td>
|
||||
<td>{{ ctrl.node.Name }}</td>
|
||||
<td>
|
||||
{{ ctrl.node.Name }}
|
||||
<span class="label label-primary image-tag" style="margin-left: 5px;" ng-if="ctrl.node.Api">api</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr ng-if="ctrl.endpoint.Subsets">
|
||||
<td>
|
||||
Kubernetes API
|
||||
</td>
|
||||
<td>{{ ctrl.node.IPAddress }}:{{ ctrl.node.Port }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Role</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue