``yaml apiVersion: v1 items:
- apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: “1”
creationTimestamp: “2022-02-27T09:09:17Z”
generation: 1
name: nginx-deployment
namespace: default
resourceVersion: “283237”
uid: 40894933-618b-4d47-a270-b02e10435f14
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: nginx
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: nginx
spec:
containers:
- image: nginx
imagePullPolicy: Always
name: nginx
readinessProbe:
exec:
command:
- cat
- /tmp/healthy
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: “2022-02-27T09:09:17Z” lastUpdateTime: “2022-02-27T09:11:22Z” message: ReplicaSet “nginx-deployment-57586646f7” has successfully progressed. reason: NewReplicaSetAvailable status: “True” type: Progressing
- lastTransitionTime: “2022-02-28T03:49:39Z” lastUpdateTime: “2022-02-28T03:49:39Z” message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: “True” type: Available observedGeneration: 1 readyReplicas: 1 replicas: 1 updatedReplicas: 1 kind: List metadata: resourceVersion: "" selfLink: ""