e5484dff5bb4bf35c2eb80f9c90b2afdd5ad2765
[oom.git] / kubernetes / cli / values.yaml
1 # 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
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 repository: nexus3.onap.org:10001
27 image: onap/cli:5.0.4
28 pullPolicy: Always
29 flavor: small
30
31 # application configuration
32 config:
33   climode: daemon
34
35 # default number of instances
36 replicaCount: 1
37
38 nodeSelector: {}
39
40 affinity: {}
41
42 # probe configuration parameters
43 liveness:
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
50 readiness:
51   initialDelaySeconds: 10
52   periodSeconds: 10
53
54 service:
55   type: NodePort
56   name: cli
57   externalPort: 443
58   externalPort1: 9090
59   internalPort: "443"
60   internalPort1: 9090
61   nodePort: "60"
62   nodePort1: "71"
63
64 ingress:
65   enabled: false
66   service:
67     - baseaddr: "cli.api"
68       name: "cli"
69       port: 443
70     - baseaddr: "cli2.api"
71       name: cli
72       port: 9090
73   config:
74     ssl: "redirect"
75
76 # Configure resource requests and limits
77 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
78 resources:
79   small:
80     limits:
81       cpu: 1
82       memory: 2Gi
83     requests:
84       cpu: 10m
85       memory: 500Mi
86   large:
87     limits:
88       cpu: 4
89       memory: 8Gi
90     requests:
91       cpu: 2
92       memory: 4Gi
93   unlimited: {}