Merge "Adding NSSMF adapter chart"
[oom.git] / kubernetes / clamp / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 AT&T
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: # global defaults
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   centralizedLoggingEnabled: false
26
27 subChartsOnly:
28   enabled: true
29
30 flavor: small
31
32 # application image
33 repository: nexus3.onap.org:10001
34 image: onap/clamp-frontend:5.0.3
35 pullPolicy: Always
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # log configuration
41 log:
42   path: /var/log/nginx/
43
44 #################################################################
45 # Application configuration defaults.
46 #################################################################
47 config:
48   log:
49     logstashServiceName: log-ls
50     logstashPort: 5044
51   dataRootDir: /dockerdata-nfs
52
53 # default number of instances
54 replicaCount: 1
55
56 nodeSelector: {}
57
58 affinity: {}
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 120
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67
68 readiness:
69   initialDelaySeconds: 10
70   periodSeconds: 10
71
72
73 service:
74   type: NodePort
75   name: clamp-external
76   portName: clamp-external
77   internalPort: 2443
78   nodePort: 58
79
80   # as of 20180904 port 58 is reserved for clamp from log/logdemonode
81   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
82
83   type2: ClusterIP
84   name2: clamp
85   portName2: clamp-internal
86   internalPort2: 2443
87   externalPort2: 8443
88
89 ingress:
90   enabled: false
91   service:
92     - baseaddr: "clamp"
93       name: "clamp"
94       port: 2443
95   config:
96     ssl: "redirect"
97
98 #resources: {}
99   # We usually recommend not to specify default resources and to leave this as a conscious
100   # choice for the user. This also increases chances charts run on environments with little
101   # resources, such as Minikube. If you do want to specify resources, uncomment the following
102   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
103   #
104   # Example:
105   # Configure resource requests and limits
106   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
107   # Minimum memory for development is 2 CPU cores and 4GB memory
108   # Minimum memory for production is 4 CPU cores and 8GB memory
109 resources:
110   small:
111     limits:
112       cpu: 1
113       memory: 200Mi
114     requests:
115       cpu: 10m
116       memory: 50Mi
117   large:
118     limits:
119       cpu: 1
120       memory: 500Mi
121     requests:
122       cpu: 10m
123       memory: 50Mi
124   unlimited: {}