blob: 7278c99a5fba927080fda7619c3db22ede14db4a [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
Priyankaec757972018-03-28 11:23:59 +000020 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000021 readinessImage: readiness-check:2.0.0
Priyankaec757972018-03-28 11:23:59 +000022#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
26repository: nexus3.onap.org:10001
Kanagaraj Manickamed4174e2019-05-29 10:34:35 +053027image: onap/cli:3.0.0
subhash kumar singhfc3fa1e2017-08-31 23:33:16 +053028pullPolicy: Always
rajeshkalai91524d02018-09-18 03:39:18 -040029flavor: small
Priyankaec757972018-03-28 11:23:59 +000030
31# application configuration
32config:
33 climode: daemon
34
35# default number of instances
36replicaCount: 1
37
38nodeSelector: {}
39
40affinity: {}
41
42# probe configuration parameters
43liveness:
44 initialDelaySeconds: 10
45 periodSeconds: 10
46 # necessary to disable liveness probe when setting breakpoints
47 # in debugger so K8s doesn't restart unresponsive container
48 enabled: true
49
50readiness:
51 initialDelaySeconds: 10
52 periodSeconds: 10
53
54service:
55 type: NodePort
56 name: cli
57 externalPort: 8080
58 externalPort1: 9090
59 internalPort: "80"
60 internalPort1: 8080
61 nodePort: "60"
Mandeep Khinda9ef4d432018-05-17 20:16:06 +000062 nodePort1: "71"
Priyankaec757972018-03-28 11:23:59 +000063
64ingress:
65 enabled: false
Lucjan Bryndzafaf19852019-12-02 13:30:20 +010066 service:
67 - baseaddr: "cli"
68 name: "cli"
69 port: 8080
70 - baseaddr: "cli2"
71 name: cli
72 port: 9090
73 config:
74 ssl: "none"
Priyankaec757972018-03-28 11:23:59 +000075
Mandeep Khinda60d36d42018-09-24 15:15:48 +000076# Configure resource requests and limits
77# ref: http://kubernetes.io/docs/user-guide/compute-resources/
rajeshkalai9eb454b2018-09-18 16:43:26 -040078resources:
79 small:
80 limits:
81 cpu: 1
82 memory: 2Gi
83 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000084 cpu: 10m
85 memory: 500Mi
rajeshkalai9eb454b2018-09-18 16:43:26 -040086 large:
87 limits:
88 cpu: 4
89 memory: 8Gi
90 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000091 cpu: 2
92 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +000093 unlimited: {}