import React from "react"; import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui"; import { Badge } from "@/components/ui"; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui"; import { Button } from "@/components/ui"; import { Copy, Terminal, X } from "lucide-react"; import { YamlEditor } from "./YamlEditor"; interface PodDetailProps { podName: string; namespace: string; _clusterId: string; onClose: () => void; } export function PodDetail({ podName, namespace, _clusterId, onClose }: PodDetailProps) { const [activeTab, setActiveTab] = React.useState("overview"); return (

Pod: {podName}

{namespace}
Overview Logs YAML Events
Pod Information
Name {podName}
Namespace {namespace}
Status Running
IP 10.0.0.1
Node node-1
Restart Count 0
Created 2 hours ago
Containers Name Image State Ready example nginx:latest Running True
Labels
app=web tier=frontend version=v1
Container Logs
[INFO] Starting nginx server...
[INFO] Listening on port 80
[ACCESS] GET / - 200 OK
[ACCESS] GET /css/style.css - 200 OK
[ACCESS] GET /js/app.js - 200 OK
[WARN] Slow response time detected
[ACCESS] POST /api/data - 201 Created
{}} /> Time Reason Type Message 2 hours ago Pulled Normal Container image "nginx:latest" already present on machine 2 hours ago Created Normal Created container example 2 hours ago Started Normal Started container example
); }