63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/revision: "1"
|
|
creationTimestamp: "2022-06-27T08:46:32Z"
|
|
generation: 2
|
|
labels:
|
|
app: myapp
|
|
type: front-end
|
|
name: myapp-deployment
|
|
namespace: default
|
|
resourceVersion: "33808"
|
|
uid: f67d009a-4fb9-4e99-84c8-45b968038b0b
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 3
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
type: front-end
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: myapp
|
|
type: front-end
|
|
name: myapp-pod
|
|
spec:
|
|
containers:
|
|
- image: nginx
|
|
imagePullPolicy: Always
|
|
name: nginx-container
|
|
resources: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
status:
|
|
availableReplicas: 3
|
|
conditions:
|
|
- lastTransitionTime: "2022-06-27T08:46:49Z"
|
|
lastUpdateTime: "2022-06-27T08:46:49Z"
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: "True"
|
|
type: Available
|
|
- lastTransitionTime: "2022-06-27T08:46:32Z"
|
|
lastUpdateTime: "2022-06-27T08:46:49Z"
|
|
message: ReplicaSet "myapp-deployment-689f9d59" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: "True"
|
|
type: Progressing
|
|
observedGeneration: 2
|
|
readyReplicas: 3
|
|
replicas: 3
|
|
updatedReplicas: 3
|