blob: fa49735cef2309aeefa8c0a55d53e0847f188539 [file] [log] [blame]
Alexis de Talhouët108e28f2019-04-14 18:54:56 -04001# Copyright (c) 2019 Bell Canada
2#
3# Modifications Copyright (c) 2019 Bell Canada.
Mike Elliott37cae252018-09-12 14:45:40 -04004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 # Change to an unused port prefix range to prevent port conflicts
22 # with other instances running within the same k8s cluster
23 nodePortPrefix: 302
24
25 # image repositories
26 repository: nexus3.onap.org:10001
27
28 # readiness check
29 readinessRepository: oomk8s
30 readinessImage: readiness-check:2.0.0
31
32 # image pull policy
33 pullPolicy: Always
34
35 persistence:
36 mountPath: /dockerdata-nfs
37
38#################################################################
39# Application configuration defaults.
40#################################################################
41# application image
42repository: nexus3.onap.org:10001
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040043image: onap/ccsdk-commandexecutor:0.4.2-STAGING-latest
Mike Elliott37cae252018-09-12 14:45:40 -040044pullPolicy: Always
45
Mike Elliott37cae252018-09-12 14:45:40 -040046# application configuration
47config:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040048 basicAuth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
Mike Elliott37cae252018-09-12 14:45:40 -040049
50# default number of instances
51replicaCount: 1
52
53nodeSelector: {}
54
55affinity: {}
56
57# probe configuration parameters
58liveness:
59 initialDelaySeconds: 10
60 periodSeconds: 10
61 # necessary to disable liveness probe when setting breakpoints
62 # in debugger so K8s doesn't restart unresponsive container
63 enabled: true
64
65readiness:
66 initialDelaySeconds: 10
67 periodSeconds: 10
68
69service:
70 type: ClusterIP
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040071 grpc:
72 portName: command-executor-grpc
73 internalPort: 50051
74 externalPort: 50051
Mike Elliott37cae252018-09-12 14:45:40 -040075
76persistence:
77 enabled: true
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040078 mountSubPath: cds/blueprints/deploy
79 deployedBlueprint: /opt/app/onap/blueprints/deploy
Mike Elliott37cae252018-09-12 14:45:40 -040080
81ingress:
82 enabled: false
83
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040084resources:
85 small:
86 limits:
87 cpu: 2
88 memory: 4Gi
89 requests:
90 cpu: 1
91 memory: 1Gi
92 large:
93 limits:
94 cpu: 4
95 memory: 8Gi
96 requests:
97 cpu: 2
98 memory: 4Gi
99 unlimited: {}