blob: 0e6ad57c2e309ec62eadfdf06fce250e911e8ccd [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
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020025 centralizedLoggingEnabled: false
vaibhav_16decf67e4182018-03-19 05:45:47 +000026
27subChartsOnly:
28 enabled: true
29
Sylvain Desbureaux45fba762018-11-23 11:35:46 +010030flavor: small
31
vaibhav_16decf67e4182018-03-19 05:45:47 +000032# application image
33repository: nexus3.onap.org:10001
sebdet3872acf2020-04-03 18:42:54 +020034image: onap/clamp-frontend:5.0.3
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040035pullPolicy: Always
vaibhav_16decf67e4182018-03-19 05:45:47 +000036
37# flag to enable debugging - application support required
38debugEnabled: false
39
Sylvain Desbureaux8c2a1622020-04-22 10:50:26 +020040# log configuration
41log:
42 path: /var/log/nginx/
43
vaibhav_16decf67e4182018-03-19 05:45:47 +000044#################################################################
45# Application configuration defaults.
46#################################################################
47config:
ac2550de009892018-05-24 15:47:05 +020048 log:
49 logstashServiceName: log-ls
50 logstashPort: 5044
vaibhav_16decf67e4182018-03-19 05:45:47 +000051 dataRootDir: /dockerdata-nfs
vaibhav_16decf67e4182018-03-19 05:45:47 +000052
53# default number of instances
54replicaCount: 1
55
56nodeSelector: {}
57
58affinity: {}
59
60# probe configuration parameters
61liveness:
ac2550cfa75fe2018-08-07 15:36:10 +020062 initialDelaySeconds: 120
vaibhav_16decf67e4182018-03-19 05:45:47 +000063 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
68readiness:
69 initialDelaySeconds: 10
70 periodSeconds: 10
71
72
73service:
74 type: NodePort
sebdetd85e24c2019-09-04 18:35:26 +020075 name: clamp-external
76 portName: clamp-external
sebdet93b4fd42020-03-25 09:19:34 -070077 internalPort: 2443
Determe, Sebastien (sd378r)346ac692019-04-29 14:52:41 +020078 nodePort: 58
sebdetd85e24c2019-09-04 18:35:26 +020079
Michael O'Briencd4d4eb2018-09-04 20:56:34 -040080 # as of 20180904 port 58 is reserved for clamp from log/logdemonode
81 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
Mandeep Khinda60d36d42018-09-24 15:15:48 +000082
sebdetd85e24c2019-09-04 18:35:26 +020083 type2: ClusterIP
84 name2: clamp
85 portName2: clamp-internal
sebdet93b4fd42020-03-25 09:19:34 -070086 internalPort2: 2443
sebdetd85e24c2019-09-04 18:35:26 +020087 externalPort2: 8443
vaibhav_16decf67e4182018-03-19 05:45:47 +000088
89ingress:
90 enabled: false
Lucjan Bryndza9e044a52019-12-02 14:04:44 +010091 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +000092 - baseaddr: "clamp.api"
Lucjan Bryndza9e044a52019-12-02 14:04:44 +010093 name: "clamp"
sebdet93b4fd42020-03-25 09:19:34 -070094 port: 2443
Lucjan Bryndza9e044a52019-12-02 14:04:44 +010095 config:
96 ssl: "redirect"
vaibhav_16decf67e4182018-03-19 05:45:47 +000097
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +020098#resources: {}
vaibhav_16decf67e4182018-03-19 05:45:47 +000099 # 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
Determe, Sebastien (sd378r)d600a8d2018-06-01 11:27:49 +0200109resources:
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100110 small:
111 limits:
112 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200113 memory: 200Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100114 requests:
115 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200116 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100117 large:
118 limits:
119 cpu: 1
sebdetd85e24c2019-09-04 18:35:26 +0200120 memory: 500Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100121 requests:
122 cpu: 10m
sebdetd85e24c2019-09-04 18:35:26 +0200123 memory: 50Mi
Sylvain Desbureaux45fba762018-11-23 11:35:46 +0100124 unlimited: {}