# Please edit the object below. Lines beginning with a '#' will be ignored, # and an empty file will abort the edit. If an error occurs while saving this file will be # reopened with the relevant failures. # # deployments.apps "myapp-deployment" was not valid: # * : Invalid value: "The edited file failed validation": ValidationError(Deployment.spec.strategy.rollingUpdate): unknown field "mxUnavailable" in io.k8s.api.apps.v1.RollingUpdateDeployment # 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: rollingUpdate: maxSurge: 25% mxUnavailable: 25% type: RollingUpdate 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