You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
montpelliermaalsi2024/kubernetes/debut/mongo-depl.yaml

63 lines
1.6 KiB
YAML

3 months ago
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: "2023-01-02T14:44:40Z"
generation: 1
labels:
app: mongo-depl
name: mongo-depl
namespace: default
resourceVersion: "13911"
uid: 3c5120a0-9cf8-4112-89f4-39da30df18d3
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: mongo-depl
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: mongo-depl
spec:
containers:
- image: mongo
imagePullPolicy: Always
name: mongo
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2023-01-02T14:44:42Z"
lastUpdateTime: "2023-01-02T14:44:42Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2023-01-02T14:44:40Z"
lastUpdateTime: "2023-01-02T14:44:42Z"
message: ReplicaSet "mongo-depl-8fbdb868c" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 1
readyReplicas: 1
replicas: 1
updatedReplicas: 1