Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / cli / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2023 Nordix Foundation
3 #
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
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   persistence: {}
21 #################################################################
22 # Application configuration defaults.
23 #################################################################
24 # application image
25 image: onap/cli:6.0.1
26 pullPolicy: IfNotPresent
27
28 # flag to enable debugging - application support required
29 debugEnabled: false
30
31 nodeSelector: {}
32 affinity: {}
33
34 # Resource Limit flavor -By Default using small
35 flavor: small
36 # default number of instances
37 replicaCount: 1
38
39 # application configuration
40 config:
41   climode: daemon
42
43 containerPort: &svc_port 8080
44 service:
45   type: ClusterIP
46   name: cli
47   ports:
48     - name: http
49       port: *svc_port
50       targetPort: *svc_port
51
52 ingress:
53   enabled: true
54   service:
55     - baseaddr: "cli-api"
56       path: "/"
57       name: "cps"
58       port: *svc_port
59
60 # probe configuration parameters
61 liveness:
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
67   port: *svc_port
68   path: /
69
70 readiness:
71   initialDelaySeconds: 10
72   periodSeconds: 10
73   port: *svc_port
74   path: /
75
76
77 # Configure resource requests and limits
78 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
79 resources:
80   small:
81     limits:
82       cpu: "1"
83       memory: "2Gi"
84     requests:
85       cpu: "10m"
86       memory: "500Mi"
87   large:
88     limits:
89       cpu: "4"
90       memory: "8Gi"
91     requests:
92       cpu: "2"
93       memory: "4Gi"
94   unlimited: {}
95
96 #Pods Service Account
97 serviceAccount:
98   nameOverride: cli
99   roles:
100     - read