blob: 9bcf03ad3e566002cadf2a306b039ae65aae7db2 [file] [log] [blame]
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05001# Copyright (c) 2019 IBM, Bell Canada
2#
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -05003# 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# Global configuration defaults.
17#################################################################
18global:
19 # Change to an unused port prefix range to prevent port conflicts
20 # with other instances running within the same k8s cluster
Oleg Mitsura0197bf12019-05-03 15:03:55 -040021 nodePortPrefixExt: 304
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050022
23 # image repositories
24 repository: nexus3.onap.org:10001
25
26 # readiness check
27 readinessRepository: oomk8s
28 readinessImage: readiness-check:2.0.0
29
30 # image pull policy
31 pullPolicy: Always
32
33 persistence:
34 mountPath: /dockerdata-nfs
35
36#################################################################
37# Application configuration defaults.
38#################################################################
39# application image
40repository: nexus3.onap.org:10001
Timoney, Dan (dt5972)4fb85c12019-09-22 20:03:27 -040041image: onap/ccsdk-blueprintsprocessor:0.6.3
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050042pullPolicy: Always
43
44# flag to enable debugging - application support required
45debugEnabled: false
46
47# application configuration
48config:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050049 appConfigDir: /opt/app/onap/config
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -050050 useScriptCompileCache: true
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050051
52# default number of instances
53replicaCount: 1
54
55nodeSelector: {}
56
57affinity: {}
58
Prathamesh Morde93da1272019-06-24 10:36:15 -040059# flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using
60# custom kafka cluster.
61dmaapEnabled: true
62
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050063# probe configuration parameters
64liveness:
Yang Xu435062b2019-06-17 01:19:37 -040065 initialDelaySeconds: 120
Oleg Mitsura3a621182019-10-09 12:40:11 -040066 periodSeconds: 20
67 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050068 # necessary to disable liveness probe when setting breakpoints
69 # in debugger so K8s doesn't restart unresponsive container
70 enabled: true
71
72readiness:
Yang Xu435062b2019-06-17 01:19:37 -040073 initialDelaySeconds: 120
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050074 periodSeconds: 10
Oleg Mitsura3a621182019-10-09 12:40:11 -040075 timeoutSeconds: 20
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050076
77service:
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050078 http:
gummarc7bd0e22020-03-05 18:57:12 +000079 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -040080 portName: blueprints-processor-http
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050081 internalPort: 8080
82 externalPort: 8080
83 grpc:
Oleg Mitsura0197bf12019-05-03 15:03:55 -040084 type: ClusterIP
Alexis de Talhouët63df1632019-03-20 08:17:58 -040085 portName: blueprints-processor-grpc
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050086 internalPort: 9111
87 externalPort: 9111
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -050088 cluster:
89 type: ClusterIP
90 portName: blueprints-processor-cluster
91 internalPort: 5701
92 externalPort: 5701
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -050093
94persistence:
Alexis de Talhouët108e28f2019-04-14 18:54:56 -040095 volumeReclaimPolicy: Retain
96 accessMode: ReadWriteMany
97 size: 2Gi
98 enabled: true
99 mountSubPath: cds/blueprints/deploy
100 deployedBlueprint: /opt/app/onap/blueprints/deploy
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500101
Sebastien Premont-Tendlandb679d7b2020-02-17 11:32:15 -0500102cluster:
103 # Cannot have cluster enabled if the replicaCount is not at least 3
104 # AND config value useScriptCompileCache is not set to false
105 enabled: false
106
107 clusterName: cds-cluster
108
109 # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
110 # between 3 and 7 only.
111 groupSize: 3
112
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500113ingress:
114 enabled: false
Lucjan Bryndza33315d42019-11-27 14:07:58 +0100115 service:
116 - baseaddr: "blueprintsprocessorhttp"
117 name: "blueprints-processor-http"
118 port: 8080
119 config:
120 ssl: "none"
Steve Alphonse Siania1b6b0e2019-01-25 15:23:58 -0500121
122resources: {}
123 # We usually recommend not to specify default resources and to leave this as a conscious
124 # choice for the user. This also increases chances charts run on environments with little
125 # resources, such as Minikube. If you do want to specify resources, uncomment the following
126 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
127 #
128 # Example:
129 # Configure resource requests and limits
130 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
131 # Minimum memory for development is 2 CPU cores and 4GB memory
132 # Minimum memory for production is 4 CPU cores and 8GB memory
133#resources:
134# limits:
135# cpu: 2
136# memory: 4Gi
137# requests:
138# cpu: 2
139# memory: 4Gi