Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 1 | # Copyright (c) 2019 IBM, Bell Canada |
| 2 | # |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 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 | # Change to an unused port prefix range to prevent port conflicts |
| 20 | # with other instances running within the same k8s cluster |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 21 | nodePortPrefixExt: 304 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 22 | |
| 23 | # image repositories |
| 24 | repository: nexus3.onap.org:10001 |
| 25 | |
| 26 | # readiness check |
| 27 | readinessRepository: oomk8s |
| 28 | readinessImage: readiness-check:2.0.0 |
| 29 | |
| 30 | # image pull policy |
| 31 | pullPolicy: Always |
| 32 | |
| 33 | persistence: |
| 34 | mountPath: /dockerdata-nfs |
| 35 | |
| 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
| 39 | # application image |
| 40 | repository: nexus3.onap.org:10001 |
Timoney, Dan (dt5972) | af7b8d4 | 2019-08-28 11:11:42 -0400 | [diff] [blame] | 41 | image: onap/ccsdk-blueprintsprocessor:0.6.0 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 42 | pullPolicy: Always |
| 43 | |
| 44 | # flag to enable debugging - application support required |
| 45 | debugEnabled: false |
| 46 | |
| 47 | # application configuration |
| 48 | config: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 49 | appConfigDir: /opt/app/onap/config |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 50 | |
| 51 | # default number of instances |
| 52 | replicaCount: 1 |
| 53 | |
| 54 | nodeSelector: {} |
| 55 | |
| 56 | affinity: {} |
| 57 | |
Prathamesh Morde | 93da127 | 2019-06-24 10:36:15 -0400 | [diff] [blame] | 58 | # flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using |
| 59 | # custom kafka cluster. |
| 60 | dmaapEnabled: true |
| 61 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 62 | # probe configuration parameters |
| 63 | liveness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 64 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 65 | periodSeconds: 10 |
| 66 | # necessary to disable liveness probe when setting breakpoints |
| 67 | # in debugger so K8s doesn't restart unresponsive container |
| 68 | enabled: true |
| 69 | |
| 70 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 71 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 72 | periodSeconds: 10 |
| 73 | |
| 74 | service: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 75 | http: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 76 | type: NodePort |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 77 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 78 | internalPort: 8080 |
| 79 | externalPort: 8080 |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 80 | nodePort: 99 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 81 | grpc: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 82 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 83 | portName: blueprints-processor-grpc |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 84 | internalPort: 9111 |
| 85 | externalPort: 9111 |
| 86 | |
| 87 | persistence: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 88 | volumeReclaimPolicy: Retain |
| 89 | accessMode: ReadWriteMany |
| 90 | size: 2Gi |
| 91 | enabled: true |
| 92 | mountSubPath: cds/blueprints/deploy |
| 93 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 94 | |
| 95 | ingress: |
| 96 | enabled: false |
| 97 | |
| 98 | resources: {} |
| 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 |
| 109 | #resources: |
| 110 | # limits: |
| 111 | # cpu: 2 |
| 112 | # memory: 4Gi |
| 113 | # requests: |
| 114 | # cpu: 2 |
| 115 | # memory: 4Gi |