Merge "move to OpenDistro"
[oom.git] / kubernetes / cds / charts / cds-blueprints-processor / values.yaml
1 # Copyright (c) 2019 IBM, Bell Canada
2 #
3 # 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 #################################################################
18 global:
19   # Change to an unused port prefix range to prevent port conflicts
20   # with other instances running within the same k8s cluster
21   nodePortPrefixExt: 304
22
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
40 repository: nexus3.onap.org:10001
41 image: onap/ccsdk-blueprintsprocessor:0.6.3
42 pullPolicy: Always
43
44 # flag to enable debugging - application support required
45 debugEnabled: false
46
47 # application configuration
48 config:
49   appConfigDir: /opt/app/onap/config
50   useScriptCompileCache: true
51
52 # default number of instances
53 replicaCount: 1
54
55 nodeSelector: {}
56
57 affinity: {}
58
59 # 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.
61 dmaapEnabled: true
62
63 # probe configuration parameters
64 liveness:
65   initialDelaySeconds: 120
66   periodSeconds: 20
67   timeoutSeconds: 20
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: true
71
72 readiness:
73   initialDelaySeconds: 120
74   periodSeconds: 10
75   timeoutSeconds: 20
76
77 service:
78   http:
79     type: NodePort
80     portName: blueprints-processor-http
81     internalPort: 8080
82     externalPort: 8080
83     nodePort: 99
84   grpc:
85     type: ClusterIP
86     portName: blueprints-processor-grpc
87     internalPort: 9111
88     externalPort: 9111
89   cluster:
90     type: ClusterIP
91     portName: blueprints-processor-cluster
92     internalPort: 5701
93     externalPort: 5701
94
95 persistence:
96   volumeReclaimPolicy: Retain
97   accessMode: ReadWriteMany
98   size: 2Gi
99   enabled: true
100   mountSubPath: cds/blueprints/deploy
101   deployedBlueprint: /opt/app/onap/blueprints/deploy
102
103 cluster:
104   # Cannot have cluster enabled if the replicaCount is not at least 3
105   # AND config value useScriptCompileCache is not set to false
106   enabled: false
107
108   clusterName: cds-cluster
109
110   # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be
111   # between 3 and 7 only.
112   groupSize: 3
113
114 ingress:
115   enabled: false
116   service:
117     - baseaddr: "blueprintsprocessorhttp"
118       name: "blueprints-processor-http"
119       port: 8080
120   config:
121     ssl: "none"
122
123 resources: {}
124   # We usually recommend not to specify default resources and to leave this as a conscious
125   # choice for the user. This also increases chances charts run on environments with little
126   # resources, such as Minikube. If you do want to specify resources, uncomment the following
127   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
128   #
129   # Example:
130   # Configure resource requests and limits
131   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
132   # Minimum memory for development is 2 CPU cores and 4GB memory
133   # Minimum memory for production is 4 CPU cores and 8GB memory
134 #resources:
135 #  limits:
136 #    cpu: 2
137 #    memory: 4Gi
138 #  requests:
139 #    cpu: 2
140 #    memory: 4Gi