mongodb resources comparison

Created Diff never expires
52 remoções
Linhas
Total
Removido
Palavras
Total
Removido
Para continuar usando este recurso, atualize para
Diffchecker logo
Diffchecker Pro
296 linhas
72 adições
Linhas
Total
Adicionado
Palavras
Total
Adicionado
Para continuar usando este recurso, atualize para
Diffchecker logo
Diffchecker Pro
312 linhas
apiVersion: v1
apiVersion: v1
kind: Pod
kind: Pod
metadata:
metadata:
creationTimestamp: "2022-09-24T03:24:11Z"
creationTimestamp: "2022-09-26T16:46:29Z"
generateName: mongodb-user-5c7b654ff6-
generateName: mongodb-listing-7d8c8f4b5b-
labels:
labels:
app.kubernetes.io/component: mongodb
app.kubernetes.io/component: mongodb
app.kubernetes.io/instance: mongodb-user
app.kubernetes.io/instance: mongodb-listing
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mongodb-user
app.kubernetes.io/name: mongodb
helm.sh/chart: mongodb-13.1.4
helm.sh/chart: mongodb-13.1.4
pod-template-hash: 5c7b654ff6
pod-template-hash: 7d8c8f4b5b
name: mongodb-user-5c7b654ff6-npvg4
name: mongodb-listing-7d8c8f4b5b-5b5c6
namespace: default
namespace: default
ownerReferences:
ownerReferences:
- apiVersion: apps/v1
- apiVersion: apps/v1
blockOwnerDeletion: true
blockOwnerDeletion: true
controller: true
controller: true
kind: ReplicaSet
kind: ReplicaSet
name: mongodb-user-5c7b654ff6
name: mongodb-listing-7d8c8f4b5b
uid: 6c440585-70ce-458c-a061-4f872c86cdcb
uid: 92331f39-42b9-439a-ab0a-9b3cf9d17e33
resourceVersion: "942844"
resourceVersion: "942536"
uid: 8294c7bf-9267-445f-af3c-1faf2de69c2a
uid: 6745580e-9c33-4cfb-ab0a-71ae529e7bb0
spec:
spec:
affinity:
affinity:
podAntiAffinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
- podAffinityTerm:
labelSelector:
labelSelector:
matchLabels:
matchLabels:
app.kubernetes.io/component: mongodb
app.kubernetes.io/component: mongodb
app.kubernetes.io/instance: mongodb-user
app.kubernetes.io/instance: mongodb-listing
app.kubernetes.io/name: mongodb-user
app.kubernetes.io/name: mongodb
namespaces:
namespaces:
- default
- default
topologyKey: kubernetes.io/hostname
topologyKey: kubernetes.io/hostname
weight: 1
weight: 1
containers:
containers:
- env:
- env:
- name: BITNAMI_DEBUG
- name: BITNAMI_DEBUG
value: "false"
value: "false"
- name: MONGODB_EXTRA_USERNAMES
- name: MONGODB_EXTRA_USERNAMES
value: godard
value: godard
- name: MONGODB_EXTRA_DATABASES
- name: MONGODB_EXTRA_DATABASES
value: production
value: production
- name: MONGODB_EXTRA_PASSWORDS
- name: MONGODB_EXTRA_PASSWORDS
valueFrom:
valueFrom:
secretKeyRef:
secretKeyRef:
key: mongodb-passwords
key: mongodb-passwords
name: mongodb-user
name: mongodb-listing
- name: MONGODB_ROOT_USER
- name: MONGODB_ROOT_USER
value: root
value: root
- name: MONGODB_ROOT_PASSWORD
- name: MONGODB_ROOT_PASSWORD
valueFrom:
valueFrom:
secretKeyRef:
secretKeyRef:
key: mongodb-root-password
key: mongodb-root-password
name: mongodb-user
name: mongodb-listing
- name: ALLOW_EMPTY_PASSWORD
- name: ALLOW_EMPTY_PASSWORD
value: "no"
value: "no"
- name: MONGODB_SYSTEM_LOG_VERBOSITY
- name: MONGODB_SYSTEM_LOG_VERBOSITY
value: "0"
value: "0"
- name: MONGODB_DISABLE_SYSTEM_LOG
- name: MONGODB_DISABLE_SYSTEM_LOG
value: "no"
value: "no"
- name: MONGODB_DISABLE_JAVASCRIPT
- name: MONGODB_DISABLE_JAVASCRIPT
value: "no"
value: "no"
- name: MONGODB_ENABLE_JOURNAL
- name: MONGODB_ENABLE_JOURNAL
value: "yes"
value: "yes"
- name: MONGODB_PORT_NUMBER
- name: MONGODB_PORT_NUMBER
value: "27017"
value: "27017"
- name: MONGODB_ENABLE_IPV6
- name: MONGODB_ENABLE_IPV6
value: "no"
value: "no"
- name: MONGODB_ENABLE_DIRECTORY_PER_DB
- name: MONGODB_ENABLE_DIRECTORY_PER_DB
value: "no"
value: "no"
image: docker.io/bitnami/mongodb:6.0.1-debian-11-r11
image: docker.io/bitnami/mongodb:6.0.1-debian-11-r11
imagePullPolicy: IfNotPresent
imagePullPolicy: IfNotPresent
livenessProbe:
livenessProbe:
exec:
exec:
command:
command:
- /bitnami/scripts/ping-mongodb.sh
- /bitnami/scripts/ping-mongodb.sh
failureThreshold: 6
failureThreshold: 6
initialDelaySeconds: 30
initialDelaySeconds: 30
periodSeconds: 20
periodSeconds: 20
successThreshold: 1
successThreshold: 1
timeoutSeconds: 10
timeoutSeconds: 10
name: mongodb
name: mongodb
ports:
ports:
- containerPort: 27017
- containerPort: 27017
name: mongodb
name: mongodb
protocol: TCP
protocol: TCP
readinessProbe:
readinessProbe:
exec:
exec:
command:
command:
- /bitnami/scripts/readiness-probe.sh
- /bitnami/scripts/readiness-probe.sh
failureThreshold: 6
failureThreshold: 6
initialDelaySeconds: 5
initialDelaySeconds: 5
periodSeconds: 10
periodSeconds: 10
successThreshold: 1
successThreshold: 1
timeoutSeconds: 5
timeoutSeconds: 5
resources: {}
resources: {}
securityContext:
securityContext:
runAsNonRoot: true
runAsNonRoot: true
runAsUser: 1001
runAsUser: 1001
terminationMessagePath: /dev/termination-log
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: File
volumeMounts:
volumeMounts:
- mountPath: /bitnami/mongodb
- mountPath: /bitnami/mongodb
name: datadir
name: datadir
- mountPath: /bitnami/scripts
- mountPath: /bitnami/scripts
name: common-scripts
name: common-scripts
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-mkqcq
name: kube-api-access-2hpdh
readOnly: true
readOnly: true
dnsPolicy: ClusterFirst
dnsPolicy: ClusterFirst
enableServiceLinks: true
enableServiceLinks: true
initContainers:
initContainers:
- args:
- args:
- -ec
- -ec
- |
- |
mkdir -p /bitnami/mongodb/
mkdir -p /bitnami/mongodb/
chown 1001:1001 /bitnami/mongodb/
chown 1001:1001 /bitnami/mongodb/
find /bitnami/mongodb/ -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R 1001:1001
find /bitnami/mongodb/ -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs -r chown -R 1001:1001
command:
command:
- /bin/bash
- /bin/bash
image: docker.io/bitnami/bitnami-shell:11-debian-11-r36
image: docker.io/bitnami/bitnami-shell:11-debian-11-r36
imagePullPolicy: IfNotPresent
imagePullPolicy: IfNotPresent
name: volume-permissions
name: volume-permissions
resources: {}
resources: {}
securityContext:
securityContext:
runAsUser: 0
runAsUser: 0
terminationMessagePath: /dev/termination-log
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: File
volumeMounts:
volumeMounts:
- mountPath: /bitnami/mongodb
- mountPath: /bitnami/mongodb
name: datadir
name: datadir
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-mkqcq
name: kube-api-access-2hpdh
readOnly: true
readOnly: true
nodeName: pool-cydjg17h9-7a5rc
nodeName: pool-cydjg17h9-7a5rc
preemptionPolicy: PreemptLowerPriority
preemptionPolicy: PreemptLowerPriority
priority: 0
priority: 0
restartPolicy: Always
restartPolicy: Always
schedulerName: default-scheduler
schedulerName: default-scheduler
securityContext:
securityContext:
fsGroup: 1001
fsGroup: 1001
serviceAccount: mongodb-user
serviceAccount: mongodb-listing
serviceAccountName: mongodb-user
serviceAccountName: mongodb-listing
terminationGracePeriodSeconds: 30
terminationGracePeriodSeconds: 30
tolerations:
tolerations:
- effect: NoExecute
- effect: NoExecute
key: node.kubernetes.io/not-ready
key: node.kubernetes.io/not-ready
operator: Exists
operator: Exists
tolerationSeconds: 300
tolerationSeconds: 300
- effect: NoExecute
- effect: NoExecute
key: node.kubernetes.io/unreachable
key: node.kubernetes.io/unreachable
operator: Exists
operator: Exists
tolerationSeconds: 300
tolerationSeconds: 300
volumes:
volumes:
- configMap:
- configMap:
defaultMode: 360
defaultMode: 360
name: mongodb-user-common-scripts
name: mongodb-listing-common-scripts
name: common-scripts
name: common-scripts
- name: datadir
- name: datadir
persistentVolumeClaim:
persistentVolumeClaim:
claimName: mongodb-user-pvc
claimName: mongodb-listing
- name: kube-api-access-mkqcq
- name: kube-api-access-2hpdh
projected:
projected:
defaultMode: 420
defaultMode: 420
sources:
sources:
- serviceAccountToken:
- serviceAccountToken:
expirationSeconds: 3607
expirationSeconds: 3607
path: token
path: token
- configMap:
- configMap:
items:
items:
- key: ca.crt
- key: ca.crt
path: ca.crt
path: ca.crt
name: kube-root-ca.crt
name: kube-root-ca.crt
- downwardAPI:
- downwardAPI:
items:
items:
- fieldRef:
- fieldRef:
apiVersion: v1
apiVersion: v1
fieldPath: metadata.namespace
fieldPath: metadata.namespace
path: namespace
path: namespace
status:
status:
conditions:
conditions:
- lastProbeTime: null
- lastProbeTime: null
lastTransitionTime: "2022-09-24T03:24:23Z"
lastTransitionTime: "2022-09-26T16:46:44Z"
status: "True"
status: "True"
type: Initialized
type: Initialized
- lastProbeTime: null
- lastProbeTime: null
lastTransitionTime: "2022-09-26T17:22:28Z"
lastTransitionTime: "2022-09-26T17:21:16Z"
status: "True"
status: "True"
type: Ready
type: Ready
- lastProbeTime: null
- lastProbeTime: null
lastTransitionTime: "2022-09-26T17:22:28Z"
lastTransitionTime: "2022-09-26T17:21:16Z"
status: "True"
status: "True"
type: ContainersReady
type: ContainersReady
- lastProbeTime: null
- lastProbeTime: null
lastTransitionTime: "2022-09-24T03:24:11Z"
lastTransitionTime: "2022-09-26T16:46:32Z"
status: "True"
status: "True"
type: PodScheduled
type: PodScheduled
containerStatuses:
containerStatuses:
- containerID: containerd://5980756c36cc37cf697aa58ef536c22c0ce9d564d2c6ab71230605d70811eb15
- containerID: containerd://d7d002abe5b06083f2652386924956e7236ca7a646b29b67cb93cd8c5801bd36
image: docker.io/bitnami/mongodb:6.0.1-debian-11-r11
image: docker.io/bitnami/mongodb:6.0.1-debian-11-r11
imageID: docker.io/bitnami/mongodb@sha256:db5dba8b08569fcfe0c707c5e795ed7d6a835d3214cde94f16485fb3bf0a7e3a
imageID: docker.io/bitnami/mongodb@sha256:db5dba8b08569fcfe0c707c5e795ed7d6a835d3214cde94f16485fb3bf0a7e3a
lastState: {}
lastState: {}
name: mongodb
name: mongodb
ready: true
ready: true
restartCount: 0
restartCount: 0
started: true
started: true
state:
state:
running:
running:
startedAt: "2022-09-24T03:24:37Z"
startedAt: "2022-09-26T16:46:44Z"
hostIP: 10.137.0.4
hostIP: 10.137.0.4
initContainerStatuses:
initContainerStatuses:
- containerID: containerd://c0bdbddd1fab65d218d8acdada889ee26f0e0d5ed7e4ffea27a2f0feaa881c57
- containerID: containerd://772124153d4dbfec3742155844e78547a582ee6867569ff00b59a130cab216ac
image: docker.io/bitnami/bitnami-shell:11-debian-11-r36
image: docker.io/bitnami/bitnami-shell:11-debian-11-r36
imageID: docker.io/bitnami/bitnami-shell@sha256:b555390184f95d85536cdb155bd7f55be04052314afa762797931b8398f64764
imageID: docker.io/bitnami/bitnami-shell@sha256:b555390184f95d85536cdb155bd7f55be04052314afa762797931b8398f64764
lastState: {}
lastState: {}
name: volume-permissions
name: volume-permissions
ready: true
ready: true
restartCount: 0
restartCount: 0
state:
state:
terminated:
terminated:
containerID: containerd://c0bdbddd1fab65d218d8acdada889ee26f0e0d5ed7e4ffea27a2f0feaa881c57
containerID: containerd://772124153d4dbfec3742155844e78547a582ee6867569ff00b59a130cab216ac
exitCode: 0
exitCode: 0
finishedAt: "2022-09-24T03:24:22Z"
finishedAt: "2022-09-26T16:46:44Z"
reason: Completed
reason: Completed
startedAt: "2022-09-24T03:24:22Z"
startedAt: "2022-09-26T16:46:44Z"
phase: Running
phase: Running
podIP: 10.244.0.206
podIP: 10.244.0.251
podIPs:
podIPs:
- ip: 10.244.0.206
- ip: 10.244.0.251
qosClass: BestEffort
qosClass: BestEffort
startTime: "2022-09-24T03:24:11Z"
startTime: "2022-09-26T16:46:32Z"


apiVersion: v1
apiVersion: v1
kind: PersistentVolumeClaim
kind: PersistentVolumeClaim
metadata:
metadata:
annotations:
annotations:
meta.helm.sh/release-name: mongodb-listing
meta.helm.sh/release-namespace: default
pv.kubernetes.io/bind-completed: "yes"
pv.kubernetes.io/bind-completed: "yes"
pv.kubernetes.io/bound-by-controller: "yes"
pv.kubernetes.io/bound-by-controller: "yes"
creationTimestamp: "2022-09-24T03:23:42Z"
volume.beta.kubernetes.io/storage-provisioner: dobs.csi.digitalocean.com
volume.kubernetes.io/storage-provisioner: dobs.csi.digitalocean.com
creationTimestamp: "2022-09-26T16:46:29Z"
finalizers:
finalizers:
- kubernetes.io/pvc-protection
- kubernetes.io/pvc-protection
name: mongodb-user-pvc
labels:
app.kubernetes.io/component: mongodb
app.kubernetes.io/instance: mongodb-listing
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: mongodb
helm.sh/chart: mongodb-13.1.4
name: mongodb-listing
namespace: default
namespace: default
resourceVersion: "1859"
resourceVersion: "933447"
uid: b732f273-3b24-4ac2-b792-d820d5ebf6d1
uid: 776ffcbc-8d0b-4156-8a4d-6e20fa5a90e0
spec:
spec:
accessModes:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
resources:
resources:
requests:
requests:
storage: 2Gi
storage: 8Gi
storageClassName: do-block-storage
storageClassName: do-block-storage
volumeMode: Filesystem
volumeMode: Filesystem
volumeName: mongodb-user-pv
volumeName: pvc-776ffcbc-8d0b-4156-8a4d-6e20fa5a90e0
status:
status:
accessModes:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
capacity:
capacity:
storage: 2Gi
storage: 8Gi
phase: Bound
phase: Bound


apiVersion: v1
apiVersion: v1
kind: PersistentVolume
kind: PersistentVolume
metadata:
metadata:
creationTimestamp: "2022-09-24T03:23:41Z"
annotations:
pv.kubernetes.io/provisioned-by: dobs.csi.digitalocean.com
volume.kubernetes.io/provisioner-deletion-secret-name: ""
volume.kubernetes.io/provisioner-deletion-secret-namespace: ""
creationTimestamp: "2022-09-26T16:46:30Z"
finalizers:
finalizers:
- kubernetes.io/pv-protection
- kubernetes.io/pv-protection
- external-attacher/dobs-csi-digitalocean-com
- external-attacher/dobs-csi-digitalocean-com
name: mongodb-user-pv
name: pvc-776ffcbc-8d0b-4156-8a4d-6e20fa5a90e0
resourceVersion: "2099"
resourceVersion: "933460"
uid: 532e48d7-f2d0-4946-9901-93b3d0747123
uid: 1fb4b434-58fc-447d-9aa5-1ea58ddeac6a
spec:
spec:
accessModes:
accessModes:
- ReadWriteOnce
- ReadWriteOnce
capacity:
capacity:
storage: 2Gi
storage: 8Gi
claimRef:
claimRef:
apiVersion: v1
apiVersion: v1
kind: PersistentVolumeClaim
kind: PersistentVolumeClaim
name: mongodb-user-pvc
name: mongodb-listing
namespace: default
namespace: default
resourceVersion: "1855"
resourceVersion: "933414"
uid: b732f273-3b24-4ac2-b792-d820d5ebf6d1
uid: 776ffcbc-8d0b-4156-8a4d-6e20fa5a90e0
csi:
csi:
driver: dobs.csi.digitalocean.com
driver: dobs.csi.digitalocean.com
volumeHandle: 9afa8806-38bd-11ed-a425-0a58ac14ef7a
fsType: ext4
persistentVolumeReclaimPolicy: Retain
volumeAttributes:
storage.kubernetes.io/csiProvisionerIdentity: 1664006331397-8081-dobs.csi.digitalocean.com
volumeHandle: c56a1092-3dba-11ed-95d6-0a58ac14eb26
persistentVolumeReclaimPolicy: Delete
storageClassName: do-block-storage
storageClassName: do-block-storage
volumeMode: Filesystem
volumeMode: Filesystem
status:
status:
phase: Bound
phase: Bound