mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame^] | 2 | # Modifications Copyright © 2018-2020 AT&T Intellectual Property |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +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 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
Sylvain Desbureaux | 4898dc0 | 2019-11-14 13:35:13 +0100 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
Mahendra Raghuwanshi | 6c9dda8 | 2018-04-26 10:06:27 +0000 | [diff] [blame] | 23 | ubuntuInitRepository: oomk8s |
| 24 | ubuntuInitImage: ubuntu-init:1.0.0 |
| 25 | persistence: {} |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 26 | |
| 27 | ################################################################# |
| 28 | # Application configuration defaults. |
| 29 | ################################################################# |
| 30 | # application image |
| 31 | repository: nexus3.onap.org:10001 |
jhh | 9b28e0e | 2019-06-26 22:24:28 -0500 | [diff] [blame] | 32 | image: sonatype/nexus:2.14.13-01 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
| 38 | # application configuration |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 39 | config: {} |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
BorislavG | 16fc760 | 2018-06-13 10:57:51 +0000 | [diff] [blame] | 50 | initialDelaySeconds: 180 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 51 | periodSeconds: 10 |
| 52 | # necessary to disable liveness probe when setting breakpoints |
| 53 | # in debugger so K8s doesn't restart unresponsive container |
| 54 | enabled: true |
| 55 | |
| 56 | readiness: |
BorislavG | 16fc760 | 2018-06-13 10:57:51 +0000 | [diff] [blame] | 57 | initialDelaySeconds: 60 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 58 | periodSeconds: 10 |
| 59 | path: /nexus/service/local/status |
| 60 | |
| 61 | service: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 62 | type: ClusterIP |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame^] | 63 | name: policy-nexus |
| 64 | portName: policy-nexus |
mayankg2703 | 13f0607 | 2018-05-07 15:36:00 +0000 | [diff] [blame] | 65 | externalPort: 8081 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 66 | internalPort: 8081 |
mayankg2703 | 13f0607 | 2018-05-07 15:36:00 +0000 | [diff] [blame] | 67 | nodePort: 36 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 68 | |
| 69 | ingress: |
| 70 | enabled: false |
| 71 | |
Mahendra Raghuwanshi | 6c9dda8 | 2018-04-26 10:06:27 +0000 | [diff] [blame] | 72 | ## Persist data to a persitent volume |
| 73 | persistence: |
| 74 | enabled: true |
| 75 | volumeReclaimPolicy: Retain |
Sylvain Desbureaux | dfa9a9b | 2019-08-29 17:35:51 +0200 | [diff] [blame] | 76 | accessMode: ReadWriteOnce |
Mahendra Raghuwanshi | 6c9dda8 | 2018-04-26 10:06:27 +0000 | [diff] [blame] | 77 | size: 2Gi |
| 78 | mountPath: /dockerdata-nfs |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame^] | 79 | mountSubPath: policy/nexus/data |
Mahendra Raghuwanshi | 6c9dda8 | 2018-04-26 10:06:27 +0000 | [diff] [blame] | 80 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 81 | # Segregation for Different environment (Small and Large) |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame^] | 82 | # Resource Limit flavor - By Default using small |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 83 | resources: |
jhh | d425867 | 2020-08-09 12:08:08 -0500 | [diff] [blame^] | 84 | flavor: small |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 85 | small: |
| 86 | limits: |
| 87 | cpu: 1 |
| 88 | memory: 1Gi |
| 89 | requests: |
| 90 | cpu: 1m |
| 91 | memory: 0.5Gi |
| 92 | large: |
| 93 | limits: |
| 94 | cpu: 2 |
| 95 | memory: 2Gi |
| 96 | requests: |
| 97 | cpu: 2m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 98 | memory: 1Gi |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 99 | unlimited: {} |