From e82dfec1bacf989ba16411a9e1ca813a4de1d56f Mon Sep 17 00:00:00 2001 From: loveuer Date: Thu, 13 Nov 2025 15:19:00 +0800 Subject: [PATCH] fix: remove ExternalIP column from Service table --- frontend/src/pages/K8sResourceList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/K8sResourceList.tsx b/frontend/src/pages/K8sResourceList.tsx index 02c36ed..eafead5 100644 --- a/frontend/src/pages/K8sResourceList.tsx +++ b/frontend/src/pages/K8sResourceList.tsx @@ -318,7 +318,7 @@ export default function K8sResourceList() { case 'statefulset': return ['Name', 'Namespace', 'Replicas', 'Age', 'Actions'] case 'service': - return ['Name', 'Namespace', 'Type', 'Cluster IP', 'External IP', 'Ports', 'NodePort', 'Age', 'Actions'] + return ['Name', 'Namespace', 'Type', 'Cluster IP', 'Ports', 'NodePort', 'Age', 'Actions'] case 'configmap': return ['Name', 'Namespace', 'Data Keys', 'Age', 'Actions'] case 'pod': @@ -402,7 +402,6 @@ export default function K8sResourceList() { {metadata.namespace || '-'} {spec.type || '-'} {spec.clusterIP || '-'} - {spec.externalIPs?.join(', ') || status.loadBalancer?.ingress?.map((i: any) => i.ip || i.hostname).join(', ') || '-'} {portsDisplay} {nodePortsDisplay} {getAge(metadata.creationTimestamp)}