blob: 702bfb2a73f5e380ce5367d936fab97976e64df1 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# 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 Elliott282a3872018-02-28 09:55:14 -050015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Mike Elliott282a3872018-02-28 09:55:14 -050020
21#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
Mike Elliott282a3872018-02-28 09:55:14 -050025image: <onap-app>:<1.2-STAGING-latest>
26pullPolicy: Always
27
28# flag to enable debugging - application support required
29debugEnabled: false
30
31# application configuration
32# Example:
33config:
34# username: myusername
35# password: mypassword
36
37# default number of instances
38replicaCount: 1
39
40nodeSelector: {}
41
42affinity: {}
43
44# probe configuration parameters
45liveness:
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
52readiness:
53 initialDelaySeconds: 10
54 periodSeconds: 10
55
Mike Elliott14d6eae2018-04-15 10:39:41 -040056#Example service definition with external, internal and node ports.
Mike Elliott282a3872018-02-28 09:55:14 -050057service:
Mike Elliott14d6eae2018-04-15 10:39:41 -040058 # 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 Elliott282a3872018-02-28 09:55:14 -050063 #Services may use any combination of ports depending on the 'type' of
64 #service being defined.
65 type: NodePort
Mike Elliott282a3872018-02-28 09:55:14 -050066 externalPort: <8080>
67 internalPort: <80>
68 nodePort: <replace with unused node port suffix eg. 23>
Mike Elliott14d6eae2018-04-15 10:39:41 -040069 # optional port name override - default can be defined in service.yaml
70 #portName: http
Mike Elliott282a3872018-02-28 09:55:14 -050071
72ingress:
73 enabled: false
74
75resources: {}
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:
88# cpu: 2
89# memory: 4Gi
90# requests:
91# cpu: 2
92# memory: 4Gi