apiVersion: apps/v1 kind: Deployment metadata: name: timeserver spec: replicas: 3 selector: matchLabels: pod: timeserver-pod template: metadata: labels: pod: timeserver-pod spec: containers: - name: timeserver-container image: docker.io/wdenniss/timeserver:1 readinessProbe: initialDelaySeconds: 15 periodSeconds: 30 httpGet: path: / port: 80 scheme: HTTP timeoutSeconds: 2 failureThreshold: 1 successThreshold: 1 livenessProbe: initialDelaySeconds: 30 periodSeconds: 30 httpGet: path: / port: 80 scheme: HTTP timeoutSeconds: 5 failureThreshold: 10 successThreshold: 1