blob: 437e04ac9d790a0b1f2d7725e1b5160f3a6afba1 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
efiacor7009bc02023-02-17 07:47:55 +00002# Modifications Copyright © 2023 Nordix Foundation
vaibhav_16dece04b2fe2018-03-22 09:07:12 +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
Priyankaec757972018-03-28 11:23:59 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
efiacor7009bc02023-02-17 07:47:55 +000020 persistence: {}
Priyankaec757972018-03-28 11:23:59 +000021#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
Bogumil Zebek0d121a22021-02-24 10:01:44 +010025image: onap/cli:6.0.1
efiacor7009bc02023-02-17 07:47:55 +000026pullPolicy: IfNotPresent
27
28# flag to enable debugging - application support required
29debugEnabled: false
30
31nodeSelector: {}
32affinity: {}
33
34# Resource Limit flavor -By Default using small
rajeshkalai91524d02018-09-18 03:39:18 -040035flavor: small
efiacor7009bc02023-02-17 07:47:55 +000036# default number of instances
37replicaCount: 1
Priyankaec757972018-03-28 11:23:59 +000038
39# application configuration
40config:
41 climode: daemon
42
efiacor7009bc02023-02-17 07:47:55 +000043containerPort: &svc_port 8080
44service:
45 type: ClusterIP
46 name: cli
47 ports:
48 - name: http
49 port: *svc_port
50 targetPort: *svc_port
Priyankaec757972018-03-28 11:23:59 +000051
efiacor7009bc02023-02-17 07:47:55 +000052ingress:
53 enabled: true
54 service:
55 - baseaddr: "cli-api"
56 path: "/"
57 name: "cps"
58 port: *svc_port
Priyankaec757972018-03-28 11:23:59 +000059
60# probe configuration parameters
61liveness:
62 initialDelaySeconds: 10
63 periodSeconds: 10
64 # necessary to disable liveness probe when setting breakpoints
65 # in debugger so K8s doesn't restart unresponsive container
66 enabled: true
efiacor7009bc02023-02-17 07:47:55 +000067 port: *svc_port
68 path: /
Priyankaec757972018-03-28 11:23:59 +000069
70readiness:
71 initialDelaySeconds: 10
72 periodSeconds: 10
efiacor7009bc02023-02-17 07:47:55 +000073 port: *svc_port
74 path: /
Priyankaec757972018-03-28 11:23:59 +000075
Priyankaec757972018-03-28 11:23:59 +000076
Mandeep Khinda60d36d42018-09-24 15:15:48 +000077# Configure resource requests and limits
78# ref: http://kubernetes.io/docs/user-guide/compute-resources/
rajeshkalai9eb454b2018-09-18 16:43:26 -040079resources:
80 small:
81 limits:
82 cpu: 1
83 memory: 2Gi
84 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000085 cpu: 10m
86 memory: 500Mi
rajeshkalai9eb454b2018-09-18 16:43:26 -040087 large:
88 limits:
89 cpu: 4
90 memory: 8Gi
91 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000092 cpu: 2
93 memory: 4Gi
Kanagaraj Manickamfed21122020-04-04 09:44:19 +053094 unlimited: {}
farida azmy11e021d2021-10-02 15:18:20 +020095
96#Pods Service Account
97serviceAccount:
98 nameOverride: cli
99 roles:
100 - read