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) | 4fb85c1 | 2019-09-22 20:03:27 -0400 | [diff] [blame] | 41 | image: onap/ccsdk-blueprintsprocessor:0.6.3 |
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 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 65 | periodSeconds: 20 |
| 66 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 67 | # necessary to disable liveness probe when setting breakpoints |
| 68 | # in debugger so K8s doesn't restart unresponsive container |
| 69 | enabled: true |
| 70 | |
| 71 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 72 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 73 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 74 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 75 | |
| 76 | service: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 77 | http: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 78 | type: NodePort |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 79 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 80 | internalPort: 8080 |
| 81 | externalPort: 8080 |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 82 | nodePort: 99 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 83 | grpc: |
Oleg Mitsura | 0197bf1 | 2019-05-03 15:03:55 -0400 | [diff] [blame] | 84 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 85 | portName: blueprints-processor-grpc |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 86 | internalPort: 9111 |
| 87 | externalPort: 9111 |
| 88 | |
| 89 | persistence: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 90 | volumeReclaimPolicy: Retain |
| 91 | accessMode: ReadWriteMany |
| 92 | size: 2Gi |
| 93 | enabled: true |
| 94 | mountSubPath: cds/blueprints/deploy |
| 95 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 96 | |
| 97 | ingress: |
| 98 | enabled: false |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 99 | service: |
| 100 | - baseaddr: "blueprintsprocessorhttp" |
| 101 | name: "blueprints-processor-http" |
| 102 | port: 8080 |
| 103 | config: |
| 104 | ssl: "none" |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 105 | |
| 106 | resources: {} |
| 107 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 108 | # choice for the user. This also increases chances charts run on environments with little |
| 109 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 110 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 111 | # |
| 112 | # Example: |
| 113 | # Configure resource requests and limits |
| 114 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 115 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 116 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 117 | #resources: |
| 118 | # limits: |
| 119 | # cpu: 2 |
| 120 | # memory: 4Gi |
| 121 | # requests: |
| 122 | # cpu: 2 |
| 123 | # memory: 4Gi |