Refactor performance scripts
[dcaegen2/collectors/hv-ves.git] / tools / performance / cloud / producer-proxy.yaml
1 # ============LICENSE_START=======================================================
2 # dcaegen2-collectors-veshv
3 # ================================================================================
4 # Copyright (C) 2020 NOKIA
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
18
19 apiVersion: apps/v1
20 kind: Deployment
21 metadata:
22   name: hv-collector-producer-proxy-deployment
23   namespace: onap
24   labels:
25     app: hv-collector-producer-proxy
26 spec:
27   replicas: 1
28   selector:
29     matchLabels:
30       app: hv-collector-producer-proxy
31   template:
32     metadata:
33       labels:
34         app: hv-collector-producer-proxy
35         name: hv-collector-producer-proxy
36     spec:
37       containers:
38         - name: hv-collector-producer-proxy
39           imagePullPolicy: IfNotPresent
40           image: alpine:latest
41           command: [ "/bin/sh", "-c" ]
42           args: [ "apk add --update curl;rm -rf /var/cache/apk/*; while true; do sleep 30; done;" ]