Merge "Updated sdc cert."
[oom.git] / kubernetes / sdc / charts / sdc-be / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/sdc-backend:1.6.4
32 backendInitImage: onap/sdc-backend-init:1.6.4
33 pullPolicy: Always
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 config:
39   javaOptions: "-Xmx1536m -Xms1536m"
40   cassandraSslEnabled: "false"
41
42 # default number of instances
43 replicaCount: 1
44
45 nodeSelector: {}
46
47 affinity: {}
48
49 # probe configuration parameters
50 liveness:
51   initialDelaySeconds: 120
52   periodSeconds: 10
53   timeoutSeconds: 5
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   port: api
57   enabled: true
58
59 readiness:
60   initialDelaySeconds: 60
61   periodSeconds: 10
62   timeoutSeconds: 5
63
64 service:
65   type: NodePort
66   name: sdc-be
67   both_tls_and_plain: true
68   msb:
69     - port: 8080
70       url: "/sdc/v1"
71       version: "v1"
72       protocol: "REST"
73       visualRange: "1"
74       serviceName: sdc
75     - port: 8080
76       url: "/sdc/v1"
77       version: "v1"
78       protocol: "REST"
79       visualRange: "1"
80       serviceName: sdc-deprecated
81   ports:
82     - name: api
83       port: 8443
84       plain_port: 8080
85       port_protocol: http
86       nodePort: '04'
87
88 ingress:
89   enabled: false
90   service:
91     - baseaddr: "sdcbe"
92       name: "sdc-be"
93       port: 8443
94   config:
95     ssl: "redirect"
96
97
98 # Resource Limit flavor -By Default using small
99 flavor: small
100 # Segregation for Different environment (Small and Large)
101 resources:
102   small:
103     limits:
104       cpu: 1
105       memory: 4Gi
106     requests:
107       cpu: 10m
108       memory: 1Gi
109   large:
110     limits:
111       cpu: 2
112       memory: 8Gi
113     requests:
114       cpu: 20m
115       memory: 2Gi
116   unlimited: {}