[DMAAP] DMaaP ServiceMesh compatibility
[oom.git] / kubernetes / multicloud / components / multicloud-k8s / values.yaml
1 # Copyright 2019 Intel Corporation, Inc
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   nodePortPrefixExt: 304
20   persistence: {}
21   artifactImage: onap/multicloud/framework-artifactbroker:1.7.3
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26 # application image
27 image: onap/multicloud/k8s:0.10.0
28 pullPolicy: Always
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33 # application configuration is via config files
34
35 # default number of instances
36 replicaCount: 1
37
38 nodeSelector: {}
39
40 affinity: {}
41
42 # probe configuration parameters
43 liveness:
44   initialDelaySeconds: 10
45   periodSeconds: 30
46   # necessary to disable liveness probe when setting breakpoints
47   # in debugger so K8s doesn't restart unresponsive container
48   enabled: true
49
50 readiness:
51   initialDelaySeconds: 10
52   periodSeconds: 30
53
54 service:
55   type: ClusterIP
56   name: multicloud-k8s
57   portName: multicloud-k8s
58   internalPort: 9015
59   externalPort: 9015
60   nodePort: 98
61
62 #Mongo chart overrides for k8splugin
63 mongo:
64   nameOverride: multicloud-k8s-mongo
65   service:
66     name: multicloud-k8s-mongo
67     internalPort: 27017
68   nfsprovisionerPrefix: multicloud-k8s
69   sdnctlPrefix: multicloud-k8s
70   persistence:
71     mountSubPath: multicloud-k8s/mongo/data
72     enabled: true
73   disableNfsProvisioner: true
74   flavor: &storage_flavor large
75   resources: &storage_resources
76     small:
77       limits:
78         cpu: 100m
79         memory: 300Mi
80       requests:
81         cpu: 10m
82         memory: 75Mi
83     large:
84       limits:
85         cpu: 200m
86         memory: 1Gi
87       requests:
88         cpu: 50m
89         memory: 300Mi
90     unlimited: {}
91
92 #etcd chart overrides for k8splugin
93 etcd:
94   nameOverride: multicloud-k8s-etcd
95   service:
96     name: multicloud-k8s-etcd
97   persistence:
98     mountSubPath: multicloud-k8s/etcd/data
99     enabled: true
100   flavor: *storage_flavor
101   resources: *storage_resources
102
103 # No persistence right now as we rely on Mongo to handle that
104 persistence:
105   enabled: false
106   volumeReclaimPolicy: Retain
107   accessMode: ReadWriteOnce
108   size: 1Gi
109   mountPath: /dockerdata-nfs
110   mountSubPath: multicloud-k8s/data
111
112 ingress:
113   enabled: false
114
115 artifactbroker:
116   internalPort: 9014
117
118 # Configure resource requests and limits
119 flavor: large
120 resources:
121   small:
122     limits:
123       cpu: 200m
124       memory: 500Mi
125     requests:
126       cpu: 10m
127       memory: 10Mi
128   large:
129     limits:
130       cpu: 400m
131       memory: 1Gi
132     requests:
133       cpu: 10m
134       memory: 100Mi
135   unlimited: {}
136
137 #Pods Service Account
138 serviceAccount:
139   nameOverride: multicloud-k8s
140   roles:
141     - read