This commit is contained in:
dxin
2025-11-07 11:25:23 +08:00
parent f1ba36dc3b
commit 1f6cf2a78a
21 changed files with 871 additions and 9 deletions

View File

@@ -17,4 +17,23 @@ spec:
cpu: "50m"
limits:
memory: "128Mi"
cpu: "100m"
cpu: "100m"
---
apiVersion: v1
kind: Service
metadata:
name: network-test-pod-svc
namespace: test-lessie
labels:
app: network-test
spec:
type: ClusterIP
selector:
app: network-test
ports:
- name: http
port: 6100 # ClusterIP 内部端口
targetPort: 6100 # 容器端口
# nodePort: 30610 # 节点对外端口(30000-32767)