改备注
This commit is contained in:
@@ -79,12 +79,11 @@ spec:
|
|||||||
mountPath: /data/webapps/lessie_sourcing_agents/logs/
|
mountPath: /data/webapps/lessie_sourcing_agents/logs/
|
||||||
subPathExpr: lessie-agents-$(POD_NAME)
|
subPathExpr: lessie-agents-$(POD_NAME)
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
# Service
|
# Service
|
||||||
# 集群内部(其他 Pod):http://test-lessie-agents-svc.test-lessie:8000(错误的)
|
# 集群内部:http://test-lessie-agents-svc.test-lessie.svc.cluster.local:8000
|
||||||
# 集群外部(其他节点):http://<Node_IP>:38000
|
# 集群外部:http://<Node_IP>:38000
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -108,4 +107,3 @@ spec:
|
|||||||
targetPort: 8000 # 容器端口
|
targetPort: 8000 # 容器端口
|
||||||
nodePort: 30800 # 节点对外端口(30000-32767)
|
nodePort: 30800 # 节点对外端口(30000-32767)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user