Kubernetes - Fundamentals
Given this YAML snippet for a Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: web
image: nginx:1.19
If one pod crashes and stops running, what will Kubernetes do?