blob: 18396331961a95d3c294379aec53e7cbc4a40724 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
sebdetd85e24c2019-09-04 18:35:26 +02002# Modifications Copyright © 2018-2019 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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
vaibhav_16decf67e4182018-03-19 05:45:47 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global: # global defaults
20 nodePortPrefix: 302
vaibhav_16decf67e4182018-03-19 05:45:47 +000021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
vaibhav_16decf67e4182018-03-19 05:45:47 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26subChartsOnly:
27 enabled: true
28
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010029flavor: small
30
vaibhav_16decf67e4182018-03-19 05:45:47 +000031# application image
32repository: nexus3.onap.org:10001
sebdet93b4fd42020-03-25 09:19:34 -070033image: onap/clamp-frontend:5.0.1
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040034pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000035
36# flag to enable debugging - application support required
37debugEnabled: false
38
39#################################################################
40# Application configuration defaults.
41#################################################################
42config:
ac2550de009892018-05-24 15:47:05 +020043 log:
44 logstashServiceName: log-ls
45 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +000046 dataRootDir: /dockerdata-nfs
vaibhav_16decf67e4182018-03-19 05:45:47 +000047
48# default number of instances
49replicaCount: 1
50
51nodeSelector: {}
52
53affinity: {}
54
55# probe configuration parameters
56liveness:
ac2550cfa75fe2018-08-07 15:36:10 +020057 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +000058 periodSeconds: 10
59 # necessary to disable liveness probe when setting breakpoints
60 # in debugger so K8s doesn't restart unresponsive container
61 enabled: true
62
63readiness:
64 initialDelaySeconds: 10
65 periodSeconds: 10
66
67
68service:
69 type: NodePort
sebdetd85e24c2019-09-04 18:35:26 +020070 name: clamp-external
71 portName: clamp-external
sebdet93b4fd42020-03-25 09:19:34 -070072 internalPort: 2443
Determe, Sebastien (sd378r)346ac692019-04-29 14:52:41 +020073 nodePort: 58
sebdetd85e24c2019-09-04 18:35:26 +020074
Michael O'Briencd4d4eb2018-09-04 20:56:34 -040075 # as of 20180904 port 58 is reserved for clamp from log/logdemonode
76 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
Mandeep Khinda60d36d42018-09-24 15:15:48 +000077
sebdetd85e24c2019-09-04 18:35:26 +020078 type2: ClusterIP
79 name2: clamp
80 portName2: clamp-internal
sebdet93b4fd42020-03-25 09:19:34 -070081 internalPort2: 2443
sebdetd85e24c2019-09-04 18:35:26 +020082 externalPort2: 8443
vaibhav_16decf67e4182018-03-19 05:45:47 +000083
84ingress:
85 enabled: false
Lucjan Bryndza9e044a52019-12-02 14:04:44 +010086 service:
87 - baseaddr: "clamp"
88 name: "clamp"
sebdet93b4fd42020-03-25 09:19:34 -070089 port: 2443
Lucjan Bryndza9e044a52019-12-02 14:04:44 +010090 config:
91 ssl: "redirect"
vaibhav_16decf67e4182018-03-19 05:45:47 +000092
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +020093#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +000094 # We usually recommend not to specify default resources and to leave this as a conscious
95 # choice for the user. This also increases chances charts run on environments with little
96 # resources, such as Minikube. If you do want to specify resources, uncomment the following
97 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
98 #
99 # Example:
100 # Configure resource requests and limits
101 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
102 # Minimum memory for development is 2 CPU cores and 4GB memory
103 # Minimum memory for production is 4 CPU cores and 8GB memory
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200104resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100105 small:
106 limits:
107 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200108 memory: 200Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100109 requests:
110 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200111 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100112 large:
113 limits:
114 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200115 memory: 500Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100116 requests:
117 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200118 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100119 unlimited: {}