Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdc / components / sdc-wfd-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   sdc_cassandra:
22     # This flag allows SDC to instantiate its own cluster, serviceName
23     # should be sdc-cs if this flag is enabled
24     localCluster: false
25     # The cassandra service name to connect to
26     # (default: shared cassandra service)
27     serviceName: cassandra
28     # Shared cassandra cluster replicaCount, should be changed if
29     # localCluster is enabled to match with its own cluster replica
30     replicaCount: 3
31     clusterName: cassandra
32     dataCenter: Pod
33
34 #################################################################
35 # Application configuration defaults.
36 #################################################################
37 # application image
38 image: onap/sdc-workflow-backend:1.12.0
39 configInitImage: onap/sdc-workflow-init:1.12.0
40 pullPolicy: Always
41
42 initJob:
43   enabled: true
44
45 config:
46   javaOptions: "-Xmx1536m -Xms1536m"
47   cassandraAuthenticationEnabled: true
48   cassandraClientPort: 9042
49   sdcEndpoint:
50     http: sdc-be:8080
51   sdcExternalUser: workflow
52   serverSSLKeyStoreType: jks
53   serverSSLTrustStoreType: jks
54   cassandraSSLEnabled: false
55   cassandraTrustStorePath: /home/sdc/etc/truststore
56
57 # environment file
58 env:
59   name: AUTO
60
61 # default number of instances
62 replicaCount: 1
63
64 nodeSelector: {}
65
66 affinity: {}
67
68 # probe configuration parameters
69 #liveness:
70 #  initialDelaySeconds: 60
71 #  periodSeconds: 10
72 #  # necessary to disable liveness probe when setting breakpoints
73 #  # in debugger so K8s doesn't restart unresponsive container
74 #  enabled: true
75
76 #readiness:
77 #  initialDelaySeconds: 60
78 #  periodSeconds: 10
79
80 # probe configuration parameters
81 liveness:
82   initialDelaySeconds: 1
83   periodSeconds: 10
84   successThreshold: 1
85   failureThreshold: 3
86   # necessary to disable liveness probe when setting breakpoints
87   # in debugger so K8s doesn't restart unresponsive container
88   enabled: true
89
90 readiness:
91   initialDelaySeconds: 1
92   periodSeconds: 10
93   successThreshold: 1
94   failureThreshold: 3
95
96 startup:
97   initialDelaySeconds: 10
98   periodSeconds: 10
99   successThreshold: 1
100   failureThreshold: 60
101
102 service:
103   type: NodePort
104   internalPort: 8080
105   ports:
106     - name: http
107       port: 8080
108       nodePort: "57"
109
110 ingress:
111   enabled: false
112   service:
113     - baseaddr: "sdc-wfd-be-api"
114       name: "sdc-wfd-be"
115       port: 8080
116   config:
117     ssl: "redirect"
118
119 serviceMesh:
120   authorizationPolicy:
121     authorizedPrincipals:
122       - serviceAccount: sdc-wfd-fe-read
123       - serviceAccount: so-sdc-controller-read
124       - serviceAccount: istio-ingress
125         namespace: istio-ingress
126
127 # Resource Limit flavor -By Default using small
128 # Segregation for Different environment (Small and Large)
129 flavor: small
130 resources:
131   small:
132     limits:
133       cpu: "1"
134       memory: "1Gi"
135     requests:
136       cpu: "0.5"
137       memory: "1Gi"
138   large:
139     limits:
140       cpu: "2"
141       memory: "2Gi"
142     requests:
143       cpu: "1"
144       memory: "2Gi"
145   unlimited: {}
146
147 #Pods Service Account
148 serviceAccount:
149   nameOverride: sdc-wfd-be
150   roles:
151     - read
152
153 wait_for_job_container:
154   containers:
155     - '{{ include "common.name" . }}-job'