101 lines
3.2 KiB
JSON
101 lines
3.2 KiB
JSON
|
{
|
||
|
"apiVersion": "apps/v1",
|
||
|
"kind": "StatefulSet",
|
||
|
"metadata": {
|
||
|
"annotations": {
|
||
|
"meta.helm.sh/release-name": "oc-mongo",
|
||
|
"meta.helm.sh/release-namespace": "default"
|
||
|
},
|
||
|
"creationTimestamp": "2024-09-26T07:48:00Z",
|
||
|
"generation": 1,
|
||
|
"labels": {
|
||
|
"app": "mongo",
|
||
|
"app.kubernetes.io/managed-by": "Helm"
|
||
|
},
|
||
|
"name": "mongo",
|
||
|
"namespace": "default",
|
||
|
"resourceVersion": "13762492",
|
||
|
"uid": "9a354ea1-f91f-4b4e-9a8c-622dde93e448"
|
||
|
},
|
||
|
"spec": {
|
||
|
"persistentVolumeClaimRetentionPolicy": {
|
||
|
"whenDeleted": "Retain",
|
||
|
"whenScaled": "Retain"
|
||
|
},
|
||
|
"podManagementPolicy": "OrderedReady",
|
||
|
"replicas": 1,
|
||
|
"revisionHistoryLimit": 10,
|
||
|
"selector": {
|
||
|
"matchLabels": {
|
||
|
"app": "mongo"
|
||
|
}
|
||
|
},
|
||
|
"serviceName": "mongo",
|
||
|
"template": {
|
||
|
"metadata": {
|
||
|
"creationTimestamp": null,
|
||
|
"labels": {
|
||
|
"app": "mongo"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"containers": [
|
||
|
{
|
||
|
"image": "harbor.dtf/mongo:v0.1.0",
|
||
|
"imagePullPolicy": "IfNotPresent",
|
||
|
"name": "mongo",
|
||
|
"ports": [
|
||
|
{
|
||
|
"containerPort": 27017,
|
||
|
"protocol": "TCP"
|
||
|
}
|
||
|
],
|
||
|
"resources": {},
|
||
|
"terminationMessagePath": "/dev/termination-log",
|
||
|
"terminationMessagePolicy": "File",
|
||
|
"volumeMounts": [
|
||
|
{
|
||
|
"mountPath": "/data/db",
|
||
|
"name": "mongo-persistent-storage"
|
||
|
},
|
||
|
{
|
||
|
"mountPath": "/data/configdb",
|
||
|
"name": "mongo-persistent-storage"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"dnsPolicy": "ClusterFirst",
|
||
|
"restartPolicy": "Always",
|
||
|
"schedulerName": "default-scheduler",
|
||
|
"securityContext": {},
|
||
|
"terminationGracePeriodSeconds": 30,
|
||
|
"volumes": [
|
||
|
{
|
||
|
"name": "mongo-persistent-storage",
|
||
|
"persistentVolumeClaim": {
|
||
|
"claimName": "mongo-pvc-helm"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"updateStrategy": {
|
||
|
"rollingUpdate": {
|
||
|
"partition": 0
|
||
|
},
|
||
|
"type": "RollingUpdate"
|
||
|
}
|
||
|
},
|
||
|
"status": {
|
||
|
"availableReplicas": 0,
|
||
|
"collisionCount": 0,
|
||
|
"currentReplicas": 1,
|
||
|
"currentRevision": "mongo-7989cd65cb",
|
||
|
"observedGeneration": 1,
|
||
|
"replicas": 1,
|
||
|
"updateRevision": "mongo-7989cd65cb",
|
||
|
"updatedReplicas": 1
|
||
|
}
|
||
|
}
|