yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | readinessRepository: oomk8s |
| 21 | readinessImage: readiness-check:2.0.0 |
| 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
| 28 | # application image |
| 29 | flavor: small |
| 30 | |
| 31 | repository: nexus3.onap.org:10001 |
yangyan | 2253f40 | 2019-05-15 09:25:00 +0800 | [diff] [blame] | 32 | image: onap/modeling/genericparser:1.0.2 |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | #Istio sidecar injection policy |
| 36 | istioSidecar: true |
| 37 | |
| 38 | # flag to enable debugging - application support required |
| 39 | debugEnabled: false |
| 40 | |
| 41 | # application configuration |
| 42 | config: {} |
| 43 | |
| 44 | # default number of instances |
| 45 | replicaCount: 1 |
| 46 | |
| 47 | nodeSelector: {} |
| 48 | |
| 49 | affinity: {} |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
| 53 | initialDelaySeconds: 120 |
| 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | enabled: true |
| 58 | |
| 59 | readiness: |
| 60 | initialDelaySeconds: 10 |
| 61 | periodSeconds: 10 |
| 62 | |
| 63 | ## Persist data to a persitent volume |
| 64 | persistence: |
| 65 | enabled: true |
| 66 | ## A manually managed Persistent Volume and Claim |
| 67 | ## Requires persistence.enabled: true |
| 68 | ## If defined, PVC must be created manually before volume will be bound |
| 69 | # existingClaim: |
| 70 | volumeReclaimPolicy: Retain |
| 71 | ## database data Persistent Volume Storage Class |
| 72 | ## If defined, storageClassName: <storageClass> |
| 73 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 74 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 75 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 76 | ## GKE, AWS & OpenStack) |
| 77 | ## |
| 78 | # storageClass: "-" |
Sylvain Desbureaux | 3bcc510 | 2019-09-02 15:03:59 +0200 | [diff] [blame] | 79 | accessMode: ReadWriteOnce |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 80 | size: 2Gi |
| 81 | mountPath: /dockerdata-nfs |
| 82 | mountSubPath: modeling/genericparser |
| 83 | |
| 84 | service: |
| 85 | type: ClusterIP |
| 86 | name: modeling-genericparser |
| 87 | portName: modeling-genericparser |
| 88 | externalPort: 8806 |
| 89 | internalPort: 8806 |
| 90 | # nodePort: 30806 |
| 91 | |
| 92 | ingress: |
| 93 | enabled: false |
| 94 | |
| 95 | # Configure resource requests and limits |
| 96 | resources: |
| 97 | small: |
| 98 | limits: |
| 99 | cpu: 200m |
| 100 | memory: 500Mi |
| 101 | requests: |
| 102 | cpu: 100m |
| 103 | memory: 250Mi |
| 104 | large: |
| 105 | limits: |
| 106 | cpu: 400m |
| 107 | memory: 1000Mi |
| 108 | requests: |
| 109 | cpu: 200m |
| 110 | memory: 500Mi |
| 111 | unlimited: {} |