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