blob: 393a05a6215797aefb0f08b4d2bef773419167ff [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, AT&T, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mandeep Khindaa1047f42018-03-22 02:12:15 +000021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
Mandeep Khindaa1047f42018-03-22 02:12:15 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26#################################################################
27# Application configuration defaults.
28#################################################################
29# application image
30repository: nexus3.onap.org:10001
Gary Wu9324d712018-11-21 21:34:30 -080031image: onap/sdc-cassandra:1.3.4
32cassandraInitImage: onap/sdc-cassandra-init:1.3.4
Mandeep Khindaa1047f42018-03-22 02:12:15 +000033
34pullPolicy: Always
35
Mandeep Khinda403c1c12018-04-19 23:15:43 +000036config:
37 release: latest
38 maxHeapSize: "1536M"
39 heapNewSize: "512M"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000040
Mandeep Khindaa1047f42018-03-22 02:12:15 +000041# default number of instances
42replicaCount: 1
43
44nodeSelector: {}
45
46affinity: {}
47
48# probe configuration parameters
49liveness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000050 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000051 periodSeconds: 10
52 # necessary to disable liveness probe when setting breakpoints
53 # in debugger so K8s doesn't restart unresponsive container
54 enabled: true
55
56readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000057 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000058 periodSeconds: 10
59
60service:
61 type: ClusterIP
62 name: sdc-cs
BorislavG1ffbd992018-04-24 07:56:27 +000063 portName: sdc-cs
Mandeep Khindaa1047f42018-03-22 02:12:15 +000064 externalPort: 9160
65 internalPort: 9160
66 externalPort2: 9042
67 internalPort2: 9042
68
69
70## Persist data to a persitent volume
71persistence:
72 enabled: true
73
74 ## A manually managed Persistent Volume and Claim
75 ## Requires persistence.enabled: true
76 ## If defined, PVC must be created manually before volume will be bound
77 # existingClaim:
78 volumeReclaimPolicy: Retain
79
80 ## database data Persistent Volume Storage Class
81 ## If defined, storageClassName: <storageClass>
82 ## If set to "-", storageClassName: "", which disables dynamic provisioning
83 ## If undefined (the default) or set to null, no storageClassName spec is
84 ## set, choosing the default provisioner. (gp2 on AWS, standard on
85 ## GKE, AWS & OpenStack)
86 ##
87 # storageClass: "-"
88 accessMode: ReadWriteMany
89 size: 2Gi
90 mountPath: /dockerdata-nfs
91 mountSubPath: /sdc/sdc-cs/CS
92
93ingress:
94 enabled: false
95
Mukula93baa82018-09-19 15:56:58 +000096# Resource Limit flavor -By Default using small
97flavor: small
98# Segregation for Different environment (Small and Large)
99resources:
100 small:
101 limits:
102 cpu: 1
103 memory: 4Gi
104 requests:
105 cpu: 10m
106 memory: 1Gi
107 large:
108 limits:
109 cpu: 2
110 memory: 8Gi
111 requests:
112 cpu: 20m
113 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000114 unlimited: {}