Skip to content

Commit 3b440f7

Browse files
Release 2.1.1 (#23)
* Updated Mongodb, Mongodb_exporter helm_version & Appverison * Pre-commits run * Removed Digest flag * Versions Updated * Versions Updated
1 parent d529969 commit 3b440f7

File tree

7 files changed

+704
-192
lines changed

7 files changed

+704
-192
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This module is for deploying a highly available MongoDB cluster on Kubernetes us
1212

1313
| MongoDB Helm Chart Version | K8s supported version (EKS, AKS & GKE) |
1414
| :-----: | :--- |
15-
| **13.1.5** | **1.23,1.24,1.25,1.26,1.27** |
15+
| **15.6.12** | **1.23,1.24,1.25,1.26,1.27,1.28,1.29** |
1616

1717

1818
## Usage Example
@@ -115,7 +115,7 @@ Features
115115
- s3_bucket_region: The region of the S3 bucket.
116116
- cron_for_full_backup: The cron expression for scheduling full backups.
117117
### Restore Configuration
118-
- mongodb_restore_config: Configuration for restoring databases.
118+
- mongodb_restore_config: Configuration for restoring databases.
119119
- bucket_uri: The URI of the S3 bucket containing the backup file.
120120
- file_name: The name of the backup file to restore.
121121
- s3_bucket_region: The region of the S3 bucket containing the backup file.
@@ -161,14 +161,14 @@ No modules.
161161

162162
| Name | Description | Type | Default | Required |
163163
|------|-------------|------|---------|:--------:|
164-
| <a name="input_app_version"></a> [app\_version](#input\_app\_version) | Version of the Mongodb application that will be deployed. | `string` | `"5.0.8-debian-10-r9"` | no |
164+
| <a name="input_app_version"></a> [app\_version](#input\_app\_version) | Version of the Mongodb application that will be deployed. | `string` | `"7.0.12-debian-12-r0"` | no |
165165
| <a name="input_az_account_backup"></a> [az\_account\_backup](#input\_az\_account\_backup) | Azure user managed account backup identity | `string` | `""` | no |
166166
| <a name="input_az_account_restore"></a> [az\_account\_restore](#input\_az\_account\_restore) | Azure user managed account restore identity | `string` | `""` | no |
167167
| <a name="input_azure_container_name"></a> [azure\_container\_name](#input\_azure\_container\_name) | Azure container name | `string` | `""` | no |
168168
| <a name="input_azure_storage_account_key"></a> [azure\_storage\_account\_key](#input\_azure\_storage\_account\_key) | Azure storage account key | `string` | `""` | no |
169169
| <a name="input_azure_storage_account_name"></a> [azure\_storage\_account\_name](#input\_azure\_storage\_account\_name) | Azure storage account name | `string` | `""` | no |
170170
| <a name="input_bucket_provider_type"></a> [bucket\_provider\_type](#input\_bucket\_provider\_type) | Choose what type of provider you want (s3, gcs) | `string` | `"gcs"` | no |
171-
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | Version of the Mongodb chart that will be used to deploy Mongodb application. | `string` | `"13.1.5"` | no |
171+
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | Version of the Mongodb chart that will be used to deploy Mongodb application. | `string` | `"15.6.12"` | no |
172172
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | Specifies the name of the EKS cluster to deploy the Mongodb application on. | `string` | `""` | no |
173173
| <a name="input_create_namespace"></a> [create\_namespace](#input\_create\_namespace) | Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace. | `string` | `false` | no |
174174
| <a name="input_iam_role_arn_backup"></a> [iam\_role\_arn\_backup](#input\_iam\_role\_arn\_backup) | IAM role ARN for backup (AWS) | `string` | `""` | no |
@@ -179,7 +179,7 @@ No modules.
179179
| <a name="input_mongodb_config"></a> [mongodb\_config](#input\_mongodb\_config) | Specify the configuration settings for Mongodb, including the name, environment, storage options, replication settings, and custom YAML values. | `any` | <pre>{<br> "architecture": "",<br> "custom_databases": "",<br> "custom_databases_passwords": "",<br> "custom_databases_usernames": "",<br> "environment": "",<br> "name": "",<br> "replica_count": 2,<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": "",<br> "volume_size": ""<br>}</pre> | no |
180180
| <a name="input_mongodb_custom_credentials_config"></a> [mongodb\_custom\_credentials\_config](#input\_mongodb\_custom\_credentials\_config) | Specify the configuration settings for Mongodb to pass custom credentials during creation. | `any` | <pre>{<br> "metric_exporter_password": "",<br> "metric_exporter_user": "",<br> "root_password": "",<br> "root_user": ""<br>}</pre> | no |
181181
| <a name="input_mongodb_custom_credentials_enabled"></a> [mongodb\_custom\_credentials\_enabled](#input\_mongodb\_custom\_credentials\_enabled) | Specifies whether to enable custom credentials for MongoDB database. | `bool` | `false` | no |
182-
| <a name="input_mongodb_exporter_config"></a> [mongodb\_exporter\_config](#input\_mongodb\_exporter\_config) | Specify whether or not to deploy Mongodb exporter to collect Mongodb metrics for monitoring in Grafana. | `any` | <pre>{<br> "version": "2.9.0"<br>}</pre> | no |
182+
| <a name="input_mongodb_exporter_config"></a> [mongodb\_exporter\_config](#input\_mongodb\_exporter\_config) | Specify whether or not to deploy Mongodb exporter to collect Mongodb metrics for monitoring in Grafana. | `any` | <pre>{<br> "version": "3.5.0"<br>}</pre> | no |
183183
| <a name="input_mongodb_exporter_enabled"></a> [mongodb\_exporter\_enabled](#input\_mongodb\_exporter\_enabled) | Specify whether or not to deploy Mongodb exporter to collect Mongodb metrics for monitoring in Grafana. | `bool` | `false` | no |
184184
| <a name="input_mongodb_exporter_values"></a> [mongodb\_exporter\_values](#input\_mongodb\_exporter\_values) | Mongo DB prometheus exporter values file | `any` | `""` | no |
185185
| <a name="input_mongodb_restore_config"></a> [mongodb\_restore\_config](#input\_mongodb\_restore\_config) | Configuration options for restoring dump to the Mongodb database. | `any` | <pre>{<br> "bucket_uri": "s3://mymongo/mongodumpfull_20230424_112501.gz",<br> "file_name": "",<br> "s3_bucket_region": "us-east-2"<br>}</pre> | no |

examples/complete/aws/helm/exporter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ resources:
1313
memory: 200Mi
1414
requests:
1515
cpu: 50m
16-
memory: 100Mi
16+
memory: 100Mi

examples/complete/aws/helm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ arbiter:
3434
requests:
3535
cpu: 100m
3636
memory: 250Mi
37-
37+
3838
affinity:
3939
nodeAffinity:
4040
requiredDuringSchedulingIgnoredDuringExecution:
@@ -61,4 +61,4 @@ restorejob:
6161
cpu: 50m
6262
limits:
6363
memory: 200Mi
64-
cpu: 100m
64+
cpu: 100m

helm/values/exporter/values.yaml

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1+
# affinity: {}
2+
13
annotations: {}
24

5+
# ## Additional labels to add to all resources
6+
# customLabels: {}
7+
8+
# dnsConfig: {}
9+
10+
# # Extra environment variables that will be passed into the exporter pod
11+
# env: {}
12+
313
extraArgs:
4-
- --collect.collection
5-
- --collect.database
6-
- --collect.indexusage
7-
- --collect.topmetrics
8-
- --collect.connpoolstats
14+
- --collect-all
915

1016
fullnameOverride: ""
1117

1218
image:
1319
pullPolicy: IfNotPresent
14-
repository: ssheehy/mongodb-exporter
15-
tag: 0.10.0
20+
repository: percona/mongodb_exporter
21+
tag: "0.40.0"
1622

1723
imagePullSecrets: []
1824

@@ -38,7 +44,10 @@ nodeSelector: {}
3844

3945
podAnnotations: {}
4046
# prometheus.io/scrape: "true"
41-
# prometheus.io/port: "metrics"
47+
# prometheus.io/port: "9216"
48+
# prometheus.io/path: /metrics
49+
50+
# podLabels: {}
4251

4352
port: "9216"
4453

@@ -89,10 +98,11 @@ securityContext:
8998
runAsUser: 10000
9099

91100
service:
92-
labels:
101+
labels: {}
93102
annotations: {}
94103
port: 9216
95104
type: ClusterIP
105+
# portName: metrics
96106

97107
serviceAccount:
98108
create: true
@@ -109,5 +119,13 @@ serviceMonitor:
109119
release: prometheus-operator
110120
targetLabels: {}
111121
metricRelabelings: []
122+
# scheme: ""
123+
# tlsConfig: {}
112124

113125
tolerations: []
126+
127+
# # Volumes that will be attached to the exporter deployment
128+
# volumes: []
129+
130+
# # Volumes that will be mounted into the exporter pod
131+
# volumeMounts: []

0 commit comments

Comments
 (0)