vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 2 | # Modifications Copyright © 2018-2019 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 25 | centralizedLoggingEnabled: false |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 26 | |
| 27 | subChartsOnly: |
| 28 | enabled: true |
| 29 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 30 | flavor: small |
| 31 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 32 | # application image |
| 33 | repository: nexus3.onap.org:10001 |
sebdet | 3872acf | 2020-04-03 18:42:54 +0200 | [diff] [blame] | 34 | image: onap/clamp-frontend:5.0.3 |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 35 | pullPolicy: Always |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 36 | |
| 37 | # flag to enable debugging - application support required |
| 38 | debugEnabled: false |
| 39 | |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 40 | # log configuration |
| 41 | log: |
| 42 | path: /var/log/nginx/ |
| 43 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 44 | ################################################################# |
| 45 | # Application configuration defaults. |
| 46 | ################################################################# |
| 47 | config: |
ac2550 | de00989 | 2018-05-24 15:47:05 +0200 | [diff] [blame] | 48 | log: |
| 49 | logstashServiceName: log-ls |
| 50 | logstashPort: 5044 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 51 | dataRootDir: /dockerdata-nfs |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 52 | |
| 53 | # default number of instances |
| 54 | replicaCount: 1 |
| 55 | |
| 56 | nodeSelector: {} |
| 57 | |
| 58 | affinity: {} |
| 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
ac2550 | cfa75fe | 2018-08-07 15:36:10 +0200 | [diff] [blame] | 62 | initialDelaySeconds: 120 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 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 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 75 | name: clamp-external |
| 76 | portName: clamp-external |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 77 | internalPort: 2443 |
Determe, Sebastien (sd378r) | 346ac69 | 2019-04-29 14:52:41 +0200 | [diff] [blame] | 78 | nodePort: 58 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 79 | |
Michael O'Brien | cd4d4eb | 2018-09-04 20:56:34 -0400 | [diff] [blame] | 80 | # as of 20180904 port 58 is reserved for clamp from log/logdemonode |
| 81 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 82 | |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 83 | type2: ClusterIP |
| 84 | name2: clamp |
| 85 | portName2: clamp-internal |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 86 | internalPort2: 2443 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 87 | externalPort2: 8443 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 88 | |
| 89 | ingress: |
| 90 | enabled: false |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 91 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame^] | 92 | - baseaddr: "clamp.api" |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 93 | name: "clamp" |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 94 | port: 2443 |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 95 | config: |
| 96 | ssl: "redirect" |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 97 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 98 | #resources: {} |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 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 |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 109 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 110 | small: |
| 111 | limits: |
| 112 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 113 | memory: 200Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 114 | requests: |
| 115 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 116 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 117 | large: |
| 118 | limits: |
| 119 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 120 | memory: 500Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 121 | requests: |
| 122 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 123 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 124 | unlimited: {} |