Cool, everything seems to be working just as before. Now let’s change our manifest to introduce our buggy version again and see what happens if we try to apply it:
xxxxxxxxxx
apiVersion: apps/v1
kind: Deployment
metadata:
name: hellok8s
spec:
replicas: 2
selector:
matchLabels:
app: hellok8s
template:
metadata:
labels:
app: hellok8s
spec:
containers:
- image: brianstorti/hellok8s:buggy # Adding a buggy version
name: hellok8s-container
readinessProbe:
periodSeconds: 1
successThreshold: 5
httpGet:
path: /
port: 4567