|
|
@@ -3,7 +3,7 @@ apiVersion: apps/v1 |
|
|
|
kind: Deployment |
|
|
|
metadata: |
|
|
|
name: logic-deployment |
|
|
|
namespace: egg_im |
|
|
|
namespace: egg-im |
|
|
|
labels: |
|
|
|
app: logic |
|
|
|
spec: |
|
|
@@ -18,7 +18,7 @@ spec: |
|
|
|
spec: |
|
|
|
containers: |
|
|
|
- name: logic |
|
|
|
image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/zyos-egg_im-logic:20221128-01' |
|
|
|
image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/egg-im-logic:0.0.2' |
|
|
|
imagePullPolicy: Always # 在kind中需要指定,不然会强制到远程拉取镜像,导致部署失败 |
|
|
|
ports: |
|
|
|
- containerPort: 8001 |
|
|
@@ -40,7 +40,7 @@ apiVersion: v1 |
|
|
|
kind: Service |
|
|
|
metadata: |
|
|
|
name: logic |
|
|
|
namespace: egg_im |
|
|
|
namespace: egg-im |
|
|
|
labels: |
|
|
|
app: logic # 只有设置label,才能被服务发现找到 |
|
|
|
spec: |
|
|
|