conventions.io

Tech Challenge

2026-06-21

☸️

Daily Tech Challenge

Kubernetes

medium
Question 1 of 5

A Deployment sets spec.revisionHistoryLimit: 2 (shown below). After many rolling updates, what does this field control?

Example
apiVersion: apps/v1
kind: Deployment
metadata:
  name: web
spec:
  replicas: 3
  revisionHistoryLimit: 2
  selector:
    matchLabels:
      app: web
  template:
    metadata:
      labels:
        app: web
    spec:
      containers:
      - name: web
        image: nginx:1.27

Sunday, June 21, 2026 · A new challenge drops every day