blob: f194c279c9215bbec78d2ab4cff92003e1724362 [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
Dan Timoneydfe1ee02020-07-07 09:26:39 -040043image: onap/ccsdk-commandexecutor:0.7.5
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:
Oleg Mitsura3a621182019-10-09 12:40:11 -040059 initialDelaySeconds: 20
60 periodSeconds: 20
61 timeoutSeconds: 20
Mike Elliott37cae252018-09-12 14:45:40 -040062 # necessary to disable liveness probe when setting breakpoints
63 # in debugger so K8s doesn't restart unresponsive container
64 enabled: true
65
66readiness:
67 initialDelaySeconds: 10
68 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -040069 timeoutSeconds: 20
Mike Elliott37cae252018-09-12 14:45:40 -040070
71service:
72 type: ClusterIP
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040073 grpc:
74 portName: command-executor-grpc
75 internalPort: 50051
76 externalPort: 50051
Mike Elliott37cae252018-09-12 14:45:40 -040077
78persistence:
79 enabled: true
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040080 mountSubPath: cds/blueprints/deploy
81 deployedBlueprint: /opt/app/onap/blueprints/deploy
Mike Elliott37cae252018-09-12 14:45:40 -040082
83ingress:
84 enabled: false
85
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040086resources:
87 small:
88 limits:
89 cpu: 2
90 memory: 4Gi
91 requests:
92 cpu: 1
93 memory: 1Gi
94 large:
95 limits:
96 cpu: 4
97 memory: 8Gi
98 requests:
99 cpu: 2
100 memory: 4Gi
101 unlimited: {}