VID Resiliency & Scalability
[oom.git] / kubernetes / vid / charts / vid-galera / values.yaml
1 #################################################################
2 # Global configuration defaults.
3 #################################################################
4 global:
5   nodePortPrefix: 302
6   persistence: {}
7   repository: nexus3.onap.org:10001
8
9
10 #################################################################
11 # Application configuration defaults.
12 #################################################################
13
14 #repository: mysql
15 repository: nexus3.onap.org:10001
16 image: adfinissygroup/k8s-mariadb-galera-centos:v002
17 imageInit: busybox
18 pullPolicy: IfNotPresent
19
20 # application configuration
21 config:
22   mariadbRootPassword: secretpassword
23 #  userName: my-user
24 #  userPassword: my-password
25 #  mysqlDatabase: my-database
26   userName: vidadmin
27   userPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
28   mysqlDatabase: vid_openecomp_epsdk
29
30
31 # default number of instances in the StatefulSet 
32 # keep in mind that if the number is increased you need to update vid-galera-config-job.yaml so that the job will know to wait for all pods.
33 replicaCount: 1
34
35 nodeSelector: {}
36
37 affinity: {}
38
39 # probe configuration parameters
40 liveness:
41   initialDelaySeconds: 30
42   periodSeconds: 10
43   timeoutSeconds: 5
44   # necessary to disable liveness probe when setting breakpoints
45   # in debugger so K8s doesn't restart unresponsive container
46   enabled: false
47
48 readiness:
49   initialDelaySeconds: 15
50   periodSeconds: 10
51
52 ## Persist data to a persitent volume
53 persistence:
54   enabled: false
55
56   ## A manually managed Persistent Volume and Claim
57   ## Requires persistence.enabled: true
58   ## If defined, PVC must be created manually before volume will be bound
59   # existingClaim:
60   volumeReclaimPolicy: Retain
61
62   ## database data Persistent Volume Storage Class
63   ## If defined, storageClassName: <storageClass>
64   ## If set to "-", storageClassName: "", which disables dynamic provisioning
65   ## If undefined (the default) or set to null, no storageClassName spec is
66   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
67   ##   GKE, AWS & OpenStack)
68   ##
69   # storageClass: "-"
70   accessMode: ReadWriteOnce
71   size: 2Gi
72
73
74 service:
75   internalPort: 3306
76   name: vid-galera
77   portName: vid-galera
78   sstPort: 4444
79   sstName: sst
80   replicationPort: 4567
81   replicationName: replication
82   istPort: 4568
83   istName: ist
84
85 ingress:
86   enabled: false
87
88
89 ## Configure MariaDB-Galera with a custom my.cnf file
90 ## ref: https://mariadb.com/kb/en/mariadb/configuring-mariadb-with-mycnf/#example-of-configuration-file
91 ##
92 #externalConfig: {}
93 externalConfig: |-
94   lower_case_table_names = 1
95 #resources: {}
96   # We usually recommend not to specify default resources and to leave this as a conscious
97   # choice for the user. This also increases chances charts run on environments with little
98   # resources, such as Minikube. If you do want to specify resources, uncomment the following
99   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
100   #
101   # Example:
102   # Configure resource requests and limits
103   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
104   # Minimum memory for development is 2 CPU cores and 4GB memory
105   # Minimum memory for production is 4 CPU cores and 8GB memory
106 resources:
107   limits:
108     cpu: 2
109     memory: 4Gi
110   requests:
111     cpu: 2
112     memory: 4Gi
113
114 # Name for mariadb-galera cluster - should be unique accross all projects or other clusters
115 nameOverride: vid-galera
116
117 # DNS name for mariadb-galera cluster - should be unique accross all projects other clusters
118 #dnsnameOverride: mariadb-galera