vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 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 | |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Mike Elliott | 91e4871 | 2018-03-29 12:03:09 -0400 | [diff] [blame] | 20 | repository: nexus3.onap.org:10001 |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
| 31 | image: <onap-app>:<1.2-STAGING-latest> |
| 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # application configuration |
| 38 | # Example: |
| 39 | config: |
| 40 | # username: myusername |
| 41 | # password: mypassword |
| 42 | |
| 43 | # default number of instances |
| 44 | replicaCount: 1 |
| 45 | |
| 46 | nodeSelector: {} |
| 47 | |
| 48 | affinity: {} |
| 49 | |
| 50 | # probe configuration parameters |
| 51 | liveness: |
| 52 | initialDelaySeconds: 10 |
| 53 | periodSeconds: 10 |
| 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | enabled: true |
| 57 | |
| 58 | readiness: |
| 59 | initialDelaySeconds: 10 |
| 60 | periodSeconds: 10 |
| 61 | |
Mike Elliott | 14d6eae | 2018-04-15 10:39:41 -0400 | [diff] [blame] | 62 | #Example service definition with external, internal and node ports. |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 63 | service: |
Mike Elliott | 14d6eae | 2018-04-15 10:39:41 -0400 | [diff] [blame] | 64 | # The default service name (exposed in the service.yaml) will be the same |
| 65 | # name as the chart. If the service name needs to be overriden (such as |
| 66 | # when a subchart is shared), uncomment the value below. |
| 67 | #name: <service-name-override> |
| 68 | |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 69 | #Services may use any combination of ports depending on the 'type' of |
| 70 | #service being defined. |
| 71 | type: NodePort |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 72 | externalPort: <8080> |
| 73 | internalPort: <80> |
| 74 | nodePort: <replace with unused node port suffix eg. 23> |
Mike Elliott | 14d6eae | 2018-04-15 10:39:41 -0400 | [diff] [blame] | 75 | # optional port name override - default can be defined in service.yaml |
| 76 | #portName: http |
Mike Elliott | 282a387 | 2018-02-28 09:55:14 -0500 | [diff] [blame] | 77 | |
| 78 | ingress: |
| 79 | enabled: false |
| 80 | |
| 81 | resources: {} |
| 82 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 83 | # choice for the user. This also increases chances charts run on environments with little |
| 84 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 85 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 86 | # |
| 87 | # Example: |
| 88 | # Configure resource requests and limits |
| 89 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 90 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 91 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 92 | #resources: |
| 93 | # limits: |
| 94 | # cpu: 2 |
| 95 | # memory: 4Gi |
| 96 | # requests: |
| 97 | # cpu: 2 |
| 98 | # memory: 4Gi |