4.2.2 Re-create strategy
View in the book.
Buy the book.
Rollout changes to Deployments with re-create.

Copy
apiVersion: apps/v1
kind: Deployment
metadata:
name: timeserver
spec:
replicas: 3
selector:
matchLabels:
pod: timeserver-pod
strategy:
type: Recreate
template:
metadata:
labels:
pod: timeserver-pod
spec:
containers:
- name: timeserver-container
image: docker.io/wdenniss/timeserver:3