|
| 1 | + |
| 2 | + |
| 3 | +===== Database status ===== |
| 4 | +NAMESPACE NAME VERSION STATUS AGE |
| 5 | +org1 mongodb.kubedb.com/mm 8.0.10 Ready 46h |
| 6 | + |
| 7 | + |
| 8 | +===== Database yamls ===== |
| 9 | +apiVersion: v1 |
| 10 | +items: |
| 11 | +- apiVersion: kubedb.com/v1 |
| 12 | + kind: MongoDB |
| 13 | + metadata: |
| 14 | + annotations: |
| 15 | + app.kubernetes.io/cluster-tier: GeneralPurpose |
| 16 | + kubectl.kubernetes.io/last-applied-configuration: | |
| 17 | + {"apiVersion":"kubedb.com/v1","kind":"MongoDB","metadata":{"annotations":{"app.kubernetes.io/cluster-tier":"GeneralPurpose","meta.helm.sh/release-name":"mm","meta.helm.sh/release-namespace":"org1"},"labels":{"app.kubernetes.io/instance":"mm","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"mongodbs.kubedb.com"},"name":"mm","namespace":"org1"},"spec":{"deletionPolicy":"WipeOut","monitor":{"agent":"prometheus.io/operator","prometheus":{"exporter":{"args":["--compatible-mode"],"resources":{"limits":{"memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":0,"runAsNonRoot":true,"runAsUser":999,"seccompProfile":{"type":"RuntimeDefault"}}},"serviceMonitor":{"interval":"30s","labels":{"release":"kube-prometheus-stack"}}}},"podTemplate":{"spec":{"containers":[{"name":"mongodb","resources":{"limits":{"cpu":"900m","memory":"1Gi"},"requests":{"cpu":"900m","memory":"1Gi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":0,"runAsNonRoot":true,"runAsUser":999,"seccompProfile":{"type":"RuntimeDefault"}}}],"initContainers":[{"name":"copy-config","resources":{"limits":{"memory":"512Mi"},"requests":{"cpu":"200m","memory":"256Mi"}},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":0,"runAsNonRoot":true,"runAsUser":999,"seccompProfile":{"type":"RuntimeDefault"}}}],"nodeSelector":{"kubernetes.io/os":"linux"},"securityContext":{"fsGroup":999}}},"replicas":1,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"2Gi"}},"storageClassName":"local-path"},"storageType":"Durable","version":"8.0.10"}} |
| 18 | + meta.helm.sh/release-name: mm |
| 19 | + meta.helm.sh/release-namespace: org1 |
| 20 | + creationTimestamp: "2026-02-04T12:09:16Z" |
| 21 | + finalizers: |
| 22 | + - kubedb.com |
| 23 | + generation: 2 |
| 24 | + labels: |
| 25 | + app.kubernetes.io/instance: mm |
| 26 | + app.kubernetes.io/managed-by: Helm |
| 27 | + app.kubernetes.io/name: mongodbs.kubedb.com |
| 28 | + name: mm |
| 29 | + namespace: org1 |
| 30 | + resourceVersion: "13659" |
| 31 | + uid: 6d176ae0-adcb-444f-85a9-7d167f963030 |
| 32 | + spec: |
| 33 | + allowedSchemas: |
| 34 | + namespaces: |
| 35 | + from: Same |
| 36 | + authSecret: |
| 37 | + activeFrom: "2026-02-04T12:09:17Z" |
| 38 | + apiGroup: "" |
| 39 | + kind: Secret |
| 40 | + name: mm-auth |
| 41 | + autoOps: {} |
| 42 | + deletionPolicy: WipeOut |
| 43 | + healthChecker: |
| 44 | + failureThreshold: 1 |
| 45 | + periodSeconds: 10 |
| 46 | + timeoutSeconds: 10 |
| 47 | + monitor: |
| 48 | + agent: prometheus.io/operator |
| 49 | + prometheus: |
| 50 | + exporter: |
| 51 | + args: |
| 52 | + - --compatible-mode |
| 53 | + port: 56790 |
| 54 | + resources: |
| 55 | + limits: |
| 56 | + memory: 256Mi |
| 57 | + requests: |
| 58 | + cpu: 100m |
| 59 | + memory: 128Mi |
| 60 | + securityContext: |
| 61 | + allowPrivilegeEscalation: false |
| 62 | + capabilities: |
| 63 | + drop: |
| 64 | + - ALL |
| 65 | + runAsGroup: 0 |
| 66 | + runAsNonRoot: true |
| 67 | + runAsUser: 999 |
| 68 | + seccompProfile: |
| 69 | + type: RuntimeDefault |
| 70 | + serviceMonitor: |
| 71 | + interval: 30s |
| 72 | + labels: |
| 73 | + release: kube-prometheus-stack |
| 74 | + podTemplate: |
| 75 | + controller: {} |
| 76 | + metadata: {} |
| 77 | + spec: |
| 78 | + containers: |
| 79 | + - livenessProbe: |
| 80 | + exec: |
| 81 | + command: |
| 82 | + - bash |
| 83 | + - -c |
| 84 | + - "set -x; if [[ $(mongosh admin --host=localhost --quiet --eval \"db.adminCommand('ping').ok\" |
| 85 | + ) -eq \"1\" ]]; then \n exit 0\n fi\n exit |
| 86 | + 1" |
| 87 | + failureThreshold: 3 |
| 88 | + periodSeconds: 10 |
| 89 | + successThreshold: 1 |
| 90 | + timeoutSeconds: 5 |
| 91 | + name: mongodb |
| 92 | + readinessProbe: |
| 93 | + exec: |
| 94 | + command: |
| 95 | + - bash |
| 96 | + - -c |
| 97 | + - "set -x; if [[ $(mongosh admin --host=localhost --quiet --eval \"db.adminCommand('ping').ok\" |
| 98 | + ) -eq \"1\" ]]; then \n exit 0\n fi\n exit |
| 99 | + 1" |
| 100 | + failureThreshold: 3 |
| 101 | + periodSeconds: 10 |
| 102 | + successThreshold: 1 |
| 103 | + timeoutSeconds: 5 |
| 104 | + resources: |
| 105 | + limits: |
| 106 | + cpu: 900m |
| 107 | + memory: 1Gi |
| 108 | + requests: |
| 109 | + cpu: 900m |
| 110 | + memory: 1Gi |
| 111 | + securityContext: |
| 112 | + allowPrivilegeEscalation: false |
| 113 | + capabilities: |
| 114 | + drop: |
| 115 | + - ALL |
| 116 | + runAsGroup: 0 |
| 117 | + runAsNonRoot: true |
| 118 | + runAsUser: 999 |
| 119 | + seccompProfile: |
| 120 | + type: RuntimeDefault |
| 121 | + initContainers: |
| 122 | + - name: copy-config |
| 123 | + resources: |
| 124 | + limits: |
| 125 | + memory: 512Mi |
| 126 | + requests: |
| 127 | + cpu: 200m |
| 128 | + memory: 256Mi |
| 129 | + securityContext: |
| 130 | + allowPrivilegeEscalation: false |
| 131 | + capabilities: |
| 132 | + drop: |
| 133 | + - ALL |
| 134 | + runAsGroup: 0 |
| 135 | + runAsNonRoot: true |
| 136 | + runAsUser: 999 |
| 137 | + seccompProfile: |
| 138 | + type: RuntimeDefault |
| 139 | + nodeSelector: |
| 140 | + kubernetes.io/os: linux |
| 141 | + podPlacementPolicy: |
| 142 | + name: default |
| 143 | + securityContext: |
| 144 | + fsGroup: 999 |
| 145 | + serviceAccountName: mm |
| 146 | + replicas: 1 |
| 147 | + sslMode: disabled |
| 148 | + storage: |
| 149 | + accessModes: |
| 150 | + - ReadWriteOnce |
| 151 | + resources: |
| 152 | + requests: |
| 153 | + storage: 2Gi |
| 154 | + storageClassName: local-path |
| 155 | + storageEngine: wiredTiger |
| 156 | + storageType: Durable |
| 157 | + version: 8.0.10 |
| 158 | + status: |
| 159 | + conditions: |
| 160 | + - lastTransitionTime: "2026-02-04T12:09:16Z" |
| 161 | + message: 'The KubeDB operator has started the provisioning of MongoDB: org1/mm' |
| 162 | + reason: DatabaseProvisioningStartedSuccessfully |
| 163 | + status: "True" |
| 164 | + type: ProvisioningStarted |
| 165 | + - lastTransitionTime: "2026-02-04T12:12:01Z" |
| 166 | + message: All desired replicas are ready. |
| 167 | + reason: AllReplicasReady |
| 168 | + status: "True" |
| 169 | + type: ReplicaReady |
| 170 | + - lastTransitionTime: "2026-02-04T12:13:36Z" |
| 171 | + message: 'The MongoDB: org1/mm is accepting client requests.' |
| 172 | + observedGeneration: 2 |
| 173 | + reason: DatabaseAcceptingConnectionRequest |
| 174 | + status: "True" |
| 175 | + type: AcceptingConnection |
| 176 | + - lastTransitionTime: "2026-02-04T12:13:36Z" |
| 177 | + message: 'The MongoDB: org1/mm is ready.' |
| 178 | + observedGeneration: 2 |
| 179 | + reason: ReadinessCheckSucceeded |
| 180 | + status: "True" |
| 181 | + type: Ready |
| 182 | + - lastTransitionTime: "2026-02-04T12:13:47Z" |
| 183 | + message: 'The MongoDB: org1/mm is successfully provisioned.' |
| 184 | + observedGeneration: 2 |
| 185 | + reason: DatabaseSuccessfullyProvisioned |
| 186 | + status: "True" |
| 187 | + type: Provisioned |
| 188 | + observedGeneration: 2 |
| 189 | + phase: Ready |
| 190 | +kind: List |
| 191 | +metadata: |
| 192 | + resourceVersion: "" |
0 commit comments