|
|
@@ -3,7 +3,7 @@ apiVersion: apps/v1 |
|
|
|
kind: Deployment |
|
|
|
metadata: |
|
|
|
name: business-deployment |
|
|
|
namespace: egg_im |
|
|
|
namespace: egg-im |
|
|
|
labels: |
|
|
|
app: business |
|
|
|
spec: |
|
|
@@ -18,7 +18,7 @@ spec: |
|
|
|
spec: |
|
|
|
containers: |
|
|
|
- name: business |
|
|
|
image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/zyos-egg_im-business:20221128-01' |
|
|
|
image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/egg-im-busness:0.0.1' |
|
|
|
imagePullPolicy: Always |
|
|
|
ports: |
|
|
|
- containerPort: 8000 |
|
|
@@ -40,7 +40,7 @@ apiVersion: v1 |
|
|
|
kind: Service |
|
|
|
metadata: |
|
|
|
name: business |
|
|
|
namespace: egg_im |
|
|
|
namespace: egg-im |
|
|
|
labels: |
|
|
|
app: business # 只有设置label,才能被服务发现找到 |
|
|
|
spec: |
|
|
|