github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/mongodb-sharding-cluster/values.yaml (about) 1 ## @param architecture define MongoDB cluster topology architecture ( `replicaset` or `sharding`) 2 architecture: replicaset 3 4 ## @param terminationPolicy define Cluster termination policy. One of DoNotTerminate, Halt, Delete, WipeOut. 5 ## 6 terminationPolicy: Halt 7 8 ## Monitoring configurations 9 monitor: 10 ## @param monitor.enabled if `true`, enable Cluster monitor capabilities 11 ## 12 enabled: false 13 14 ## Service configurations 15 ## 16 service: 17 ## @param service.type MongoDB service type, valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. 18 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types 19 ## 20 type: ClusterIP 21 22 clusterVersionOverride: "" 23 nameOverride: "" 24 fullnameOverride: "" 25 26 27 ## @param tolerations define global Tolerations for the cluster all pod's assignment 28 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 29 ## 30 tolerations: [] 31 32 33 ## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template 34 ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods 35 ## 36 topologyKeys: 37 - kubernetes.io/hostname 38 39 40 ## @param affinity is affinity setting for MongoDB cluster pods assignment 41 ## 42 affinity: {} 43 44 shard: 45 - ## @param shard[*].replicas Number of MongoDB replicas per shard to deploy 46 ## 47 replicas: 3 48 ## MongoDB workload pod resource requests and limits 49 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ 50 ## @param shard[*].resources.limits The resources limits for the init container 51 ## @param shard[*].resources.requests The requested resources for the init container 52 ## 53 resources: { } 54 # We usually recommend not to specify default resources and to leave this as a conscious 55 # choice for the user. This also increases chances charts run on environments with little 56 # resources, such as Minikube. If you do want to specify resources, uncomment the following 57 # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 58 # limits: 59 # cpu: 100m 60 # memory: 128Mi 61 # requests: 62 # cpu: 100m 63 # memory: 128Mi 64 ## Enable persistence using Persistent Volume Claims 65 ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ 66 ## 67 persistence: 68 ## @param shard[*].persistence.enabled Enable persistence using Persistent Volume Claims 69 ## 70 enabled: false 71 ## `data` volume settings 72 ## 73 data: 74 ## @param shard[*].persistence.data.storageClassName Storage class of backing PVC 75 ## If defined, storageClassName: <storageClass> 76 ## If set to "-", storageClassName: "", which disables dynamic provisioning 77 ## If undefined (the default) or set to null, no storageClassName spec is 78 ## set, choosing the default provisioner. (gp2 on AWS, standard on 79 ## GKE, AWS & OpenStack) 80 ## 81 storageClassName: 82 ## @param shard[*].persistence.size Size of data volume 83 ## 84 size: 10Gi 85 ## @param shard[*].tolerations Tolerations for MongoDB pods assignment 86 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 87 ## 88 tolerations: [ ] 89 90 mongodb: 91 ## @param mongodb.replicas Number of MongoDB replicas per replicaset to deploy 92 ## 93 replicas: 3 94 ## MongoDB workload pod resource requests and limits 95 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ 96 ## @param mongodb.resources.limits The resources limits for the init container 97 ## @param mongodb.resources.requests The requested resources for the init container 98 ## 99 resources: { } 100 # We usually recommend not to specify default resources and to leave this as a conscious 101 # choice for the user. This also increases chances charts run on environments with little 102 # resources, such as Minikube. If you do want to specify resources, uncomment the following 103 # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 104 # limits: 105 # cpu: 100m 106 # memory: 128Mi 107 # requests: 108 # cpu: 100m 109 # memory: 128Mi 110 ## Enable persistence using Persistent Volume Claims 111 ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ 112 ## 113 persistence: 114 ## @param mongodb.persistence.enabled Enable persistence using Persistent Volume Claims 115 ## 116 enabled: true 117 ## `data` volume settings 118 ## 119 data: 120 ## @param mongodb.persistence.data.storageClassName Storage class of backing PVC 121 ## If defined, storageClassName: <storageClass> 122 ## If set to "-", storageClassName: "", which disables dynamic provisioning 123 ## If undefined (the default) or set to null, no storageClassName spec is 124 ## set, choosing the default provisioner. (gp2 on AWS, standard on 125 ## GKE, AWS & OpenStack) 126 ## 127 storageClassName: 128 ## @param mongodb.persistence.size Size of data volume 129 ## 130 size: 20Gi 131 ## @param mongodb.tolerations Tolerations for MongoDB pods assignment 132 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 133 ## 134 tolerations: [ ] 135 136 configsvr: 137 ## @param configsvr.replicas Number of MongoDB replicas per configsvr to deploy 138 ## 139 replicas: 3 140 ## MongoDB workload pod resource requests and limits 141 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ 142 ## @param configsvr.resources.limits The resources limits for the init container 143 ## @param configsvr.resources.requests The requested resources for the init container 144 ## 145 resources: { } 146 # We usually recommend not to specify default resources and to leave this as a conscious 147 # choice for the user. This also increases chances charts run on environments with little 148 # resources, such as Minikube. If you do want to specify resources, uncomment the following 149 # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 150 # limits: 151 # cpu: 100m 152 # memory: 128Mi 153 # requests: 154 # cpu: 100m 155 # memory: 128Mi 156 ## Enable persistence using Persistent Volume Claims 157 ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ 158 ## 159 persistence: 160 ## @param configsvr.persistence.enabled Enable persistence using Persistent Volume Claims 161 ## 162 enabled: false 163 ## `data` volume settings 164 ## 165 data: 166 ## @param configsvr.persistence.data.storageClassName Storage class of backing PVC 167 ## If defined, storageClassName: <storageClass> 168 ## If set to "-", storageClassName: "", which disables dynamic provisioning 169 ## If undefined (the default) or set to null, no storageClassName spec is 170 ## set, choosing the default provisioner. (gp2 on AWS, standard on 171 ## GKE, AWS & OpenStack) 172 ## 173 storageClassName: 174 ## @param configsvr.persistence.size Size of data volume 175 ## 176 size: 10Gi 177 ## @param configsvr.tolerations Tolerations for MongoDB pods assignment 178 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 179 ## 180 tolerations: [ ] 181 182 mongos: 183 - ## @param mongos[*].replicas Number of MongoDB replicas per mongos to deploy 184 ## 185 replicas: 1 186 ## MongoDB workload pod resource requests and limits 187 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ 188 ## @param mongos[*].resources.limits The resources limits for the init container 189 ## @param mongos[*].resources.requests The requested resources for the init container 190 ## 191 resources: { } 192 # We usually recommend not to specify default resources and to leave this as a conscious 193 # choice for the user. This also increases chances charts run on environments with little 194 # resources, such as Minikube. If you do want to specify resources, uncomment the following 195 # lines, adjust them as necessary, and remove the curly braces after 'resources:'. 196 # limits: 197 # cpu: 100m 198 # memory: 128Mi 199 # requests: 200 # cpu: 100m 201 # memory: 128Mi 202 ## Enable persistence using Persistent Volume Claims 203 ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/ 204 ## 205 ## @param mongos[*].tolerations Tolerations for MongoDB pods assignment 206 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ 207 ## 208 tolerations: [ ] 209 210 ingress: 211 ## @param ingress.enabled Enable ingress record generation for MongoDB 212 ## 213 enabled: false 214 ## @param ingress.pathType Ingress path type 215 ## 216 pathType: ImplementationSpecific 217 ## @param ingress.apiVersion Force Ingress API version (automatically detected if not set) 218 ## 219 apiVersion: "" 220 ## @param ingress.hostname Default host for the ingress record 221 ## 222 hostname: mongodb.local 223 ## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) 224 ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster . 225 ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/ 226 ## 227 ingressClassName: "" 228 ## @param ingress.path Default path for the ingress record 229 ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers 230 ## 231 path: / 232 ## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate auto generation, place here your cert-manager annotations. 233 ## Use this parameter to set the required annotations for cert-manager, see 234 ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations 235 ## e.g: 236 ## annotations: 237 ## kubernetes.io/ingress.class: nginx 238 ## cert-manager.io/cluster-issuer: cluster-issuer-name 239 ## 240 annotations: {} 241 ## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter 242 ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}` 243 ## You can: 244 ## - Use the `ingress.secrets` parameter to create this TLS secret 245 ## - Rely on cert-manager to create it by setting the corresponding annotations 246 ## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true` 247 ## 248 tls: false 249 ## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm 250 ## 251 selfSigned: false 252 ## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record 253 ## e.g: 254 ## extraHosts: 255 ## - name: mongodb.local 256 ## path: / 257 ## 258 extraHosts: [] 259 ## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host 260 ## e.g: 261 ## extraPaths: 262 ## - path: /* 263 ## backend: 264 ## serviceName: ssl-redirect 265 ## servicePort: use-annotation 266 ## 267 extraPaths: [] 268 ## @param ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record 269 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls 270 ## e.g: 271 ## extraTls: 272 ## - hosts: 273 ## - mongodb.local 274 ## secretName: mongodb.local-tls 275 ## 276 extraTls: [] 277 ## @param ingress.secrets Custom TLS certificates as secrets 278 ## NOTE: 'key' and 'certificate' are expected in PEM format 279 ## NOTE: 'name' should line up with a 'secretName' set further up 280 ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates 281 ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days 282 ## It is also possible to create and manage the certificates outside of this helm chart 283 ## Please see README.md for more information 284 ## e.g: 285 ## secrets: 286 ## - name: mongodb.local-tls 287 ## key: |- 288 ## -----BEGIN RSA PRIVATE KEY----- 289 ## ... 290 ## -----END RSA PRIVATE KEY----- 291 ## certificate: |- 292 ## -----BEGIN CERTIFICATE----- 293 ## ... 294 ## -----END CERTIFICATE----- 295 ## 296 secrets: [] 297 ## @param ingress.extraRules Additional rules to be covered with this ingress record 298 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules 299 ## e.g: 300 ## extraRules: 301 ## - host: example.local 302 ## http: 303 ## path: / 304 ## backend: 305 ## service: 306 ## name: example-svc 307 ## port: 308 ## name: http 309 ## 310 extraRules: [] 311 312 enabledLogs: 313 - running 314 315 # The RBAC permission used by cluster component pod, now include event.create 316 serviceAccount: 317 name: ""