diff --git a/chart/templates/ingress/business.yaml b/chart/templates/ingress/business.yaml new file mode 100644 index 0000000..a33c295 --- /dev/null +++ b/chart/templates/ingress/business.yaml @@ -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 \ No newline at end of file diff --git a/chart/templates/server/connect.yaml b/chart/templates/server/connect.yaml index 067fd1d..7baec6b 100644 --- a/chart/templates/server/connect.yaml +++ b/chart/templates/server/connect.yaml @@ -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: diff --git a/chart/templates/server/logic.yaml b/chart/templates/server/logic.yaml index 9798f7a..e65caba 100644 --- a/chart/templates/server/logic.yaml +++ b/chart/templates/server/logic.yaml @@ -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: