Loading manifests/contextservice.yaml +25 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ spec: imagePullPolicy: Always ports: - containerPort: 1010 - containerPort: 8080 env: - name: DB_ENGINE value: "redis" Loading Loading @@ -51,3 +52,27 @@ spec: - name: grpc port: 1010 targetPort: 1010 - name: http port: 8080 targetPort: 8080 --- apiVersion: v1 kind: Service metadata: name: contextservice-public labels: app: contextservice spec: type: NodePort selector: app: contextservice ports: - name: grpc protocol: TCP port: 1010 targetPort: 1010 - name: http protocol: TCP port: 8080 targetPort: 8080 --- manifests/deviceservice.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -49,5 +49,6 @@ spec: app: deviceservice ports: - name: grpc protocol: TCP port: 2020 targetPort: 2020 manifests/monitoringservice.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -46,5 +46,6 @@ spec: app: monitoringservice ports: - name: grpc protocol: TCP port: 8080 targetPort: 8080 manifests/redis.yaml +16 −0 Original line number Diff line number Diff line Loading @@ -36,3 +36,19 @@ spec: port: 6379 targetPort: 6379 --- apiVersion: v1 kind: Service metadata: name: redis-public labels: app: redis spec: type: NodePort selector: app: redis ports: - name: redis protocol: TCP port: 6379 targetPort: 6379 --- manifests/serviceservice.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -49,5 +49,6 @@ spec: app: serviceservice ports: - name: grpc protocol: TCP port: 3030 targetPort: 3030 Loading
manifests/contextservice.yaml +25 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ spec: imagePullPolicy: Always ports: - containerPort: 1010 - containerPort: 8080 env: - name: DB_ENGINE value: "redis" Loading Loading @@ -51,3 +52,27 @@ spec: - name: grpc port: 1010 targetPort: 1010 - name: http port: 8080 targetPort: 8080 --- apiVersion: v1 kind: Service metadata: name: contextservice-public labels: app: contextservice spec: type: NodePort selector: app: contextservice ports: - name: grpc protocol: TCP port: 1010 targetPort: 1010 - name: http protocol: TCP port: 8080 targetPort: 8080 ---
manifests/deviceservice.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -49,5 +49,6 @@ spec: app: deviceservice ports: - name: grpc protocol: TCP port: 2020 targetPort: 2020
manifests/monitoringservice.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -46,5 +46,6 @@ spec: app: monitoringservice ports: - name: grpc protocol: TCP port: 8080 targetPort: 8080
manifests/redis.yaml +16 −0 Original line number Diff line number Diff line Loading @@ -36,3 +36,19 @@ spec: port: 6379 targetPort: 6379 --- apiVersion: v1 kind: Service metadata: name: redis-public labels: app: redis spec: type: NodePort selector: app: redis ports: - name: redis protocol: TCP port: 6379 targetPort: 6379 ---
manifests/serviceservice.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -49,5 +49,6 @@ spec: app: serviceservice ports: - name: grpc protocol: TCP port: 3030 targetPort: 3030