blob: 01a5ab158acdeb2dfaec33a8981431bc66ce07f3 [file] [log] [blame]
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00001# Copyright © 2017 Amdocs, Bell Canada
ChrisCec86a532020-03-19 15:53:31 -05002# Modifications © 2020 AT&T
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +00003#
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
dsingh.27864a34bf2018-09-21 05:11:00 -040016flavor: small
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000017#################################################################
18# Application configuration defaults.
19#################################################################
20# application image
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020021replicaCount: 1
22
23binary: locate
24
25sequence_order:
26 - service
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000027
28nodeSelector: {}
29
30affinity: {}
31
32# probe configuration parameters
33liveness:
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020034 initialDelaySeconds: 30
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000035 periodSeconds: 10
36 # necessary to disable liveness probe when setting breakpoints
37 # in debugger so K8s doesn't restart unresponsive container
38 enabled: true
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020039 port: api
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000040
41readiness:
Instrumentalcc3a0bd2019-05-01 14:18:49 -050042 initialDelaySeconds: 5
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000043 periodSeconds: 10
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020044 port: api
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000045
46service:
47 name: aaf-locate
48 type: ClusterIP
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020049 ports:
50 - name: api
51 protocol: http
52 port: 8095
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000053
54ingress:
55 enabled: false
Lucjan Bryndza72b12152019-11-27 10:28:28 +000056 service:
57 - baseaddr: "aaflocate"
58 name: "aaf-locate"
59 port: 8095
60 config:
Sylvain Desbureauxcfc90412020-05-06 15:17:55 +020061 ssl: "redirect"
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000062
dsingh.27864a34bf2018-09-21 05:11:00 -040063# Configure resource requests and limits
Sylvain Desbureauxc10829f2019-11-29 14:43:58 +010064resources:
Sylvain Desbureaux4aff7f02020-05-14 13:21:06 +020065 small:
66 limits:
67 cpu: 500m
68 memory: 320Mi
69 requests:
70 cpu: 1m
71 memory: 210Mi
72 large:
73 limits:
74 cpu: 400m
75 memory: 1Gi
76 requests:
77 cpu: 40m
78 memory: 500Mi
79 unlimited: {}