blob: 6cb4f2f5a9c85de6b125f31ad157da3102432315 [file] [log] [blame]
onkarkundargi72cfd362020-02-27 12:34:37 +05301# Copyright 2018-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15---
16
17apiVersion: apps/v1beta2
18kind: Deployment
19metadata:
20 name: nem-ondemand-proxy
21 labels:
22 app: nem-ondemand-proxy
23 chart: nem-ondemand-proxy
24spec:
25 replicas: 1
26 selector:
27 matchLabels:
28 app: nem-ondemand-proxy
29 template:
30 metadata:
31 labels:
32 app: nem-ondemand-proxy
33 spec:
34 containers:
35 - name: nem-ondemand-proxy
36 image: smbaker/nem-ondemand-proxy:test
37 imagePullPolicy: Always
38 ports:
39 - containerPort: 50052
40 name: grpc
41
42---
43
44apiVersion: v1
45kind: Service
46metadata:
47 name: nem-ondemand-proxy
48spec:
49 ports:
50 - name: grpc
51 port: 50052
52 targetPort: 50052
53 selector:
54 app: nem-ondemand-proxy