mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Show all pod addresses (#2841)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
1 parent
fa4baf785d
commit
23dadaa1a1
4 files changed
+56
No files matched your search
@@ -77,6 +77,22 @@ export class ServiceDetails extends React.Component<Props> {
|
||||
{spec.clusterIP}
|
||||
</DrawerItem>
|
||||
|
||||
<DrawerItem name="Cluster IPs" hidden={!service.getClusterIps().length} labelsOnly>
|
||||
{
|
||||
service.getClusterIps().map(label => (
|
||||
<Badge key={label} label={label}/>
|
||||
))
|
||||
}
|
||||
</DrawerItem>
|
||||
|
||||
<DrawerItem name="IP families" hidden={!service.getIpFamilies().length}>
|
||||
{service.getIpFamilies().join(", ")}
|
||||
</DrawerItem>
|
||||
|
||||
<DrawerItem name="IP family policy" hidden={!service.getIpFamilyPolicy()}>
|
||||
{service.getIpFamilyPolicy()}
|
||||
</DrawerItem>
|
||||
|
||||
{service.getExternalIps().length > 0 && (
|
||||
<DrawerItem name="External IPs">
|
||||
{service.getExternalIps().map(ip => <div key={ip}>{ip}</div>)}
|
||||
|
||||
Reference in new issue
Block a user