Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 1 | # Copyright (c) 2019 IBM, Bell Canada |
| 2 | # |
| 3 | # Modifications Copyright (c) 2019 Bell Canada. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
| 21 | # Change to an unused port prefix range to prevent port conflicts |
| 22 | # with other instances running within the same k8s cluster |
| 23 | nodePortPrefix: 302 |
| 24 | |
| 25 | # image repositories |
| 26 | repository: nexus3.onap.org:10001 |
| 27 | |
| 28 | # readiness check |
| 29 | readinessRepository: oomk8s |
| 30 | readinessImage: readiness-check:2.0.0 |
| 31 | |
| 32 | # image pull policy |
| 33 | pullPolicy: Always |
| 34 | |
| 35 | persistence: |
| 36 | mountPath: /dockerdata-nfs |
| 37 | |
| 38 | ################################################################# |
| 39 | # Application configuration defaults. |
| 40 | ################################################################# |
| 41 | # application image |
| 42 | repository: nexus3.onap.org:10001 |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 43 | image: onap/ccsdk-blueprintsprocessor:0.4-STAGING-latest |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 44 | pullPolicy: Always |
| 45 | |
| 46 | # flag to enable debugging - application support required |
| 47 | debugEnabled: false |
| 48 | |
| 49 | # application configuration |
| 50 | config: |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 51 | appConfigDir: /opt/app/onap/config |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 52 | |
| 53 | # default number of instances |
| 54 | replicaCount: 1 |
| 55 | |
| 56 | nodeSelector: {} |
| 57 | |
| 58 | affinity: {} |
| 59 | |
| 60 | # probe configuration parameters |
| 61 | liveness: |
| 62 | initialDelaySeconds: 10 |
| 63 | periodSeconds: 10 |
| 64 | # necessary to disable liveness probe when setting breakpoints |
| 65 | # in debugger so K8s doesn't restart unresponsive container |
| 66 | enabled: true |
| 67 | |
| 68 | readiness: |
| 69 | initialDelaySeconds: 10 |
| 70 | periodSeconds: 10 |
| 71 | |
| 72 | service: |
| 73 | type: ClusterIP |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 74 | http: |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 75 | portName: blueprints-processor-http |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 76 | internalPort: 8080 |
| 77 | externalPort: 8080 |
| 78 | grpc: |
Alexis de Talhouët | 63df163 | 2019-03-20 08:17:58 -0400 | [diff] [blame] | 79 | portName: blueprints-processor-grpc |
Steve Alphonse Siani | a1b6b0e | 2019-01-25 15:23:58 -0500 | [diff] [blame] | 80 | internalPort: 9111 |
| 81 | externalPort: 9111 |
| 82 | |
| 83 | persistence: |
| 84 | enabled: true |
| 85 | |
| 86 | ingress: |
| 87 | enabled: false |
| 88 | |
| 89 | resources: {} |
| 90 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 91 | # choice for the user. This also increases chances charts run on environments with little |
| 92 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 93 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 94 | # |
| 95 | # Example: |
| 96 | # Configure resource requests and limits |
| 97 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 98 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 99 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 100 | #resources: |
| 101 | # limits: |
| 102 | # cpu: 2 |
| 103 | # memory: 4Gi |
| 104 | # requests: |
| 105 | # cpu: 2 |
| 106 | # memory: 4Gi |