Adding Bouncer xapp and E2 Simulator code for RIC-Benchmarking
[it/test.git] / ric_benchmarking / e2-interface / e2sim / e2sm_examples / kpm_e2sm / helm / templates / deployment.yaml
1 # ==================================================================================
2 #       Copyright (c) 2020 AT&T Intellectual Property.
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #          http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15 # ==================================================================================
16
17 apiVersion: apps/v1
18 kind: Deployment
19 metadata:
20   name: {{ .Values.e2sim.alpha.name }}
21   labels:
22     app: {{ .Values.e2sim.alpha.app }}
23   namespace: {{ .Values.e2sim.alpha.namespace }}
24 spec:
25   replicas: {{ .Values.e2sim.alpha.replicaCount }}
26   selector:
27     matchLabels:
28       app: {{ .Values.e2sim.alpha.app }}
29   template:
30     metadata:
31       labels:
32         app: {{ .Values.e2sim.alpha.app }}
33     spec:
34       containers:
35       - name: {{ .Values.e2sim.alpha.name }}
36         image:   {{ .Values.e2sim.alpha.image.registry }}/{{ .Values.e2sim.alpha.image.name }}:{{ .Values.e2sim.alpha.image.tag }}
37         imagePullPolicy: {{ .Values.e2sim.alpha.image.imagepullpolicy }}
38         ports: 
39         - containerPort: {{ .Values.e2sim.alpha.port }}
40