前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
{ "apiVersion": "v1", "kind": "Pod", "metadata": { "name": "haimaxy-pod", "labels": { "app": "web" } }, "spec": { "containers": [ { "name": "frontend", "image": "nginx", "ports": [ {"containerPort": 80} ] }, { "name": "demo", "image": "demo", "ports": [ {"containerPort": 5000} ] } ] } }