blob: 8197f5caf59e486ef49315754ce9537a91584a24 [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
Priyankaec757972018-03-28 11:23:59 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020020 readinessImage: onap/oom/readiness:3.0.1
Priyankaec757972018-03-28 11:23:59 +000021#################################################################
22# Application configuration defaults.
23#################################################################
24# application image
25repository: nexus3.onap.org:10001
Kanagaraj Manickamfed21122020-04-04 09:44:19 +053026image: onap/cli:5.0.4
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +053027pullPolicy: Always
rajeshkalai91524d02018-09-18 03:39:18 -040028flavor: small
Priyankaec757972018-03-28 11:23:59 +000029
30# application configuration
31config:
32 climode: daemon
33
34# default number of instances
35replicaCount: 1
36
37nodeSelector: {}
38
39affinity: {}
40
41# probe configuration parameters
42liveness:
43 initialDelaySeconds: 10
44 periodSeconds: 10
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
47 enabled: true
48
49readiness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52
53service:
54 type: NodePort
55 name: cli
Kanagaraj Manickamfed21122020-04-04 09:44:19 +053056 externalPort: 443
Priyankaec757972018-03-28 11:23:59 +000057 externalPort1: 9090
Kanagaraj Manickamfed21122020-04-04 09:44:19 +053058 internalPort: "443"
59 internalPort1: 9090
Priyankaec757972018-03-28 11:23:59 +000060 nodePort: "60"
Mandeep Khinda9ef4d432018-05-17 20:16:06 +000061 nodePort1: "71"
Priyankaec757972018-03-28 11:23:59 +000062
63ingress:
64 enabled: false
Lucjan Bryndzafaf19852019-12-02 13:30:20 +010065 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +000066 - baseaddr: "cli.api"
Lucjan Bryndzafaf19852019-12-02 13:30:20 +010067 name: "cli"
Kanagaraj Manickamfed21122020-04-04 09:44:19 +053068 port: 443
Lucjan Bryndza05649652020-04-29 08:52:33 +000069 - baseaddr: "cli2.api"
Lucjan Bryndzafaf19852019-12-02 13:30:20 +010070 name: cli
71 port: 9090
72 config:
Sylvain Desbureaux7ce1bc02020-05-06 15:20:39 +020073 ssl: "redirect"
Priyankaec757972018-03-28 11:23:59 +000074
Mandeep Khinda60d36d42018-09-24 15:15:48 +000075# Configure resource requests and limits
76# ref: http://kubernetes.io/docs/user-guide/compute-resources/
rajeshkalai9eb454b2018-09-18 16:43:26 -040077resources:
78 small:
79 limits:
80 cpu: 1
81 memory: 2Gi
82 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000083 cpu: 10m
84 memory: 500Mi
rajeshkalai9eb454b2018-09-18 16:43:26 -040085 large:
86 limits:
87 cpu: 4
88 memory: 8Gi
89 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000090 cpu: 2
91 memory: 4Gi
Kanagaraj Manickamfed21122020-04-04 09:44:19 +053092 unlimited: {}