Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 1 | # Copyright (c) 2018 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 | # Change to an unused port prefix range to prevent port conflicts |
| 20 | # with other instances running within the same k8s cluster |
| 21 | nodePortPrefix: 302 |
| 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-controllerblueprints:0.6.0 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 42 | pullPolicy: Always |
| 43 | |
| 44 | # flag to enable debugging - application support required |
| 45 | debugEnabled: false |
| 46 | |
| 47 | # application configuration |
| 48 | config: |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 49 | appConfigDir: /opt/app/onap/config |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 50 | initDataLoad: true |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 51 | |
| 52 | # default number of instances |
| 53 | replicaCount: 1 |
| 54 | |
| 55 | nodeSelector: {} |
| 56 | |
| 57 | affinity: {} |
| 58 | |
| 59 | # probe configuration parameters |
| 60 | liveness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 61 | initialDelaySeconds: 120 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 62 | periodSeconds: 10 |
| 63 | # necessary to disable liveness probe when setting breakpoints |
| 64 | # in debugger so K8s doesn't restart unresponsive container |
| 65 | enabled: true |
| 66 | |
| 67 | readiness: |
Yang Xu | 435062b | 2019-06-17 01:19:37 -0400 | [diff] [blame] | 68 | initialDelaySeconds: 120 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 69 | periodSeconds: 10 |
| 70 | |
| 71 | service: |
| 72 | type: ClusterIP |
| 73 | portName: controller-blueprints |
| 74 | internalPort: 8080 |
| 75 | externalPort: 8080 |
| 76 | |
| 77 | persistence: |
| 78 | enabled: true |
| 79 | |
| 80 | ingress: |
| 81 | enabled: false |
| 82 | |
| 83 | resources: {} |
| 84 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 85 | # choice for the user. This also increases chances charts run on environments with little |
| 86 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 87 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 88 | # |
| 89 | # Example: |
| 90 | # Configure resource requests and limits |
| 91 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 92 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 93 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 94 | #resources: |
| 95 | # limits: |
| 96 | # cpu: 2 |
| 97 | # memory: 4Gi |
| 98 | # requests: |
| 99 | # cpu: 2 |
| 100 | # memory: 4Gi |