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 |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 50 | useScriptCompileCache: true |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 51 | |
| 52 | # default number of instances |
| 53 | replicaCount: 1 |
| 54 | |
| 55 | nodeSelector: {} |
| 56 | |
| 57 | affinity: {} |
| 58 | |
Prathamesh Morde | 93da127 | 2019-06-24 10:36:15 -0400 | [diff] [blame] | 59 | # flag for kafka-listener dependency. Set to true if you are using message-router otherwise set to false if you are using |
| 60 | # custom kafka cluster. |
| 61 | dmaapEnabled: true |
| 62 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 63 | # probe configuration parameters |
| 64 | liveness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 65 | initialDelaySeconds: 120 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 66 | periodSeconds: 20 |
| 67 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 68 | # necessary to disable liveness probe when setting breakpoints |
| 69 | # in debugger so K8s doesn't restart unresponsive container |
| 70 | enabled: true |
| 71 | |
| 72 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 73 | initialDelaySeconds: 120 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 74 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 75 | timeoutSeconds: 20 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 76 | |
| 77 | service: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 78 | http: |
gummar | c7bd0e2 | 2020-03-05 18:57:12 +0000 | [diff] [blame] | 79 | type: ClusterIP |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 80 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 81 | internalPort: 8080 |
| 82 | externalPort: 8080 |
| 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 |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 88 | cluster: |
| 89 | type: ClusterIP |
| 90 | portName: blueprints-processor-cluster |
| 91 | internalPort: 5701 |
| 92 | externalPort: 5701 |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 93 | |
| 94 | persistence: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 95 | volumeReclaimPolicy: Retain |
| 96 | accessMode: ReadWriteMany |
| 97 | size: 2Gi |
| 98 | enabled: true |
| 99 | mountSubPath: cds/blueprints/deploy |
| 100 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 101 | |
Sebastien Premont-Tendland | b679d7b | 2020-02-17 11:32:15 -0500 | [diff] [blame] | 102 | cluster: |
| 103 | # Cannot have cluster enabled if the replicaCount is not at least 3 |
| 104 | # AND config value useScriptCompileCache is not set to false |
| 105 | enabled: false |
| 106 | |
| 107 | clusterName: cds-cluster |
| 108 | |
| 109 | # Defines the number of node to be part of the CP subsystem/raft algorithm. This value should be |
| 110 | # between 3 and 7 only. |
| 111 | groupSize: 3 |
| 112 | |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 113 | ingress: |
| 114 | enabled: false |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 115 | service: |
| 116 | - baseaddr: "blueprintsprocessorhttp" |
| 117 | name: "blueprints-processor-http" |
| 118 | port: 8080 |
| 119 | config: |
| 120 | ssl: "none" |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 121 | |
| 122 | resources: {} |
| 123 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 124 | # choice for the user. This also increases chances charts run on environments with little |
| 125 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 126 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 127 | # |
| 128 | # Example: |
| 129 | # Configure resource requests and limits |
| 130 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 131 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 132 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 133 | #resources: |
| 134 | # limits: |
| 135 | # cpu: 2 |
| 136 | # memory: 4Gi |
| 137 | # requests: |
| 138 | # cpu: 2 |
| 139 | # memory: 4Gi |