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