Browse Source

feat: pcm 容器化调整

Signed-off-by: devad <cossjie@foxmail.com>
pull/9/head
devad 2 years ago
parent
commit
29191bfaaf
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      adaptor/PCM-HPC/PCM-AC/rpc/Dockerfile
  2. +1
    -1
      adaptor/PCM-HPC/PCM-AC/rpc/etc/hpcac.yaml
  3. +1
    -1
      adaptor/PCM-K8S/PCM-K8S-NATIVE/rpc/etc/kubenative.yaml
  4. +2
    -2
      deploy/pcm-ac-service.yaml

+ 1
- 1
adaptor/PCM-HPC/PCM-AC/rpc/Dockerfile View File

@@ -15,6 +15,6 @@ COPY etc/hpcac.yaml /home/

ENV TZ=Asia/Shanghai

EXPOSE 2008
EXPOSE 2002

ENTRYPOINT ./pcm-ac -f hpcac.yaml

+ 1
- 1
adaptor/PCM-HPC/PCM-AC/rpc/etc/hpcac.yaml View File

@@ -1,5 +1,5 @@
Name: hpcac.rpc
ListenOn: 127.0.0.1:2002
ListenOn: 0.0.0.0:2002
Etcd:
Hosts:
- 10.101.15.170:31890


+ 1
- 1
adaptor/PCM-K8S/PCM-K8S-NATIVE/rpc/etc/kubenative.yaml View File

@@ -1,5 +1,5 @@
Name: kubenative.rpc
ListenOn: 127.0.0.1:2005
ListenOn: 0.0.0.0:2005
Etcd:
Hosts:
- 10.101.15.170:31890


+ 2
- 2
deploy/pcm-ac-service.yaml View File

@@ -11,6 +11,6 @@ spec:
ports:
- name: web
protocol: TCP
port: 2008
targetPort: 2008
port: 2002
targetPort: 2002
type: ClusterIP

Loading…
Cancel
Save