Browse Source

update

master
dengbiao 1 week ago
parent
commit
af4e8fb449
3 changed files with 23 additions and 6 deletions
  1. +17
    -0
      chart/templates/ingress/business.yaml
  2. +3
    -3
      chart/templates/server/connect.yaml
  3. +3
    -3
      chart/templates/server/logic.yaml

+ 17
- 0
chart/templates/ingress/business.yaml View File

@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: egg-im-logic
namespace: egg-im
spec:
rules:
- host: im-rpc-logic.izhim.com
http:
paths:
- backend:
service:
name: logic
port:
number: 8000
path: /
pathType: ImplementationSpecific

+ 3
- 3
chart/templates/server/connect.yaml View File

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


+ 3
- 3
chart/templates/server/logic.yaml View File

@@ -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:


Loading…
Cancel
Save