blob: 7604b8639381f0a3887ef1bc350d060670c8e0ca [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
ChrisCec86a532020-03-19 15:53:31 -050017
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000018#################################################################
19# Application configuration defaults.
20#################################################################
21# application image
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020022
23replicaCount: 1
24
25binary: oauth
26
27sequence_order:
28 - service
29 - locate
30
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000031nodeSelector: {}
32
33affinity: {}
34
35# probe configuration parameters
36liveness:
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020037 initialDelaySeconds: 30
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000038 periodSeconds: 10
39 # necessary to disable liveness probe when setting breakpoints
40 # in debugger so K8s doesn't restart unresponsive container
41 enabled: true
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020042 port: api
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000043
44readiness:
Instrumentalcc3a0bd2019-05-01 14:18:49 -050045 initialDelaySeconds: 5
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000046 periodSeconds: 10
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020047 port: api
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000048
49service:
50 name: aaf-oauth
51 type: ClusterIP
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020052 ports:
53 - name: api
54 protocol: http
55 port: 8140
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000056
57ingress:
58 enabled: false
Lucjan Bryndza72b12152019-11-27 10:28:28 +000059 service:
60 - baseaddr: "aafoauth"
61 name: "aaf-oauth"
62 port: 8140
63 config:
Sylvain Desbureauxcfc90412020-05-06 15:17:55 +020064 ssl: "redirect"
Mahendra Raghuwanshiafb1e2a2018-05-03 12:15:03 +000065
dsingh.27864a34bf2018-09-21 05:11:00 -040066# Configure resource requests and limits
Sylvain Desbureauxc10829f2019-11-29 14:43:58 +010067resources:
Sylvain Desbureaux8f9ef352020-04-14 15:02:57 +020068 small:
69 limits:
70 cpu: 40m
71 memory: 320Mi
72 requests:
73 cpu: 1m
74 memory: 210Mi
75 large:
76 limits:
77 cpu: 400m
78 memory: 600Mi
79 requests:
80 cpu: 40m
81 memory: 200Mi
82 unlimited: {}