Merge "[SO] Correct connection configuration to sdnc"
[oom.git] / kubernetes / clamp / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global: # global defaults
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 subChartsOnly:
27   enabled: true
28
29 flavor: small
30
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/clamp-frontend:5.0.2
34 pullPolicy: Always
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 #################################################################
40 # Application configuration defaults.
41 #################################################################
42 config:
43   log:
44     logstashServiceName: log-ls
45     logstashPort: 5044
46   dataRootDir: /dockerdata-nfs
47
48 # default number of instances
49 replicaCount: 1
50
51 nodeSelector: {}
52
53 affinity: {}
54
55 # probe configuration parameters
56 liveness:
57   initialDelaySeconds: 120
58   periodSeconds: 10
59   # necessary to disable liveness probe when setting breakpoints
60   # in debugger so K8s doesn't restart unresponsive container
61   enabled: true
62
63 readiness:
64   initialDelaySeconds: 10
65   periodSeconds: 10
66
67
68 service:
69   type: NodePort
70   name: clamp-external
71   portName: clamp-external
72   internalPort: 2443
73   nodePort: 58
74
75   # as of 20180904 port 58 is reserved for clamp from log/logdemonode
76   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
77
78   type2: ClusterIP
79   name2: clamp
80   portName2: clamp-internal
81   internalPort2: 2443
82   externalPort2: 8443
83
84 ingress:
85   enabled: false
86   service:
87     - baseaddr: "clamp"
88       name: "clamp"
89       port: 2443
90   config:
91     ssl: "redirect"
92
93 #resources: {}
94   # We usually recommend not to specify default resources and to leave this as a conscious
95   # choice for the user. This also increases chances charts run on environments with little
96   # resources, such as Minikube. If you do want to specify resources, uncomment the following
97   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
98   #
99   # Example:
100   # Configure resource requests and limits
101   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
102   # Minimum memory for development is 2 CPU cores and 4GB memory
103   # Minimum memory for production is 4 CPU cores and 8GB memory
104 resources:
105   small:
106     limits:
107       cpu: 1
108       memory: 200Mi
109     requests:
110       cpu: 10m
111       memory: 50Mi
112   large:
113     limits:
114       cpu: 1
115       memory: 500Mi
116     requests:
117       cpu: 10m
118       memory: 50Mi
119   unlimited: {}