更改pod内容器名

This commit is contained in:
dxin
2025-11-20 14:51:44 +08:00
parent cb31412b3a
commit 36795062e0
16 changed files with 956 additions and 76 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: v1
kind: Pod
metadata:
name: network-test-pod
namespace: apex-evaluation
labels:
app: network-test
spec:
containers:
- name: network-tools
image: nicolaka/netshoot:latest
command: ["/bin/sh"]
args: ["-c", "sleep 3600"] # 保持运行1小时
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "100m"