OS
Schema Hub

DeploymentStrategy

DeploymentStrategy describes how to replace existing pods with new ones.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/apps.api.k8s.io/DeploymentStrategy_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/apps.api.k8s.io/DeploymentStrategy_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

rollingUpdateobject
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
typestring
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.