Skip to content

Commit 2c330f3

Browse files
committed
ops: cap deployment revision history to 5
What changed: set revisionHistoryLimit: 5 on all tracked Deployment manifests so old ReplicaSets do not accumulate beyond five revisions per workload. How verified: confirmed every Deployment manifest in services/ and infrastructure/ now includes revisionHistoryLimit: 5 and reviewed the resulting diff.
1 parent e206143 commit 2c330f3

6 files changed

Lines changed: 7 additions & 0 deletions

File tree

infrastructure/base/monitoring/gatus/base/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
name: gatus
55
namespace: monitoring
66
spec:
7+
revisionHistoryLimit: 5
78
replicas: 1
89
selector:
910
matchLabels:

services/event-bingo/base/backend-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Deployment
33
metadata:
44
name: event-bingo-backend
55
spec:
6+
revisionHistoryLimit: 5
67
replicas: 1
78
strategy:
89
type: Recreate

services/event-bingo/base/frontend-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Deployment
33
metadata:
44
name: event-bingo-frontend
55
spec:
6+
revisionHistoryLimit: 5
67
replicas: 1
78
selector:
89
matchLabels:

services/experiment-platform-pseudolab/base/backend-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Deployment
33
metadata:
44
name: experiment-platform-backend
55
spec:
6+
revisionHistoryLimit: 5
67
replicas: 1
78
selector:
89
matchLabels:

services/experiment-platform-pseudolab/base/frontend-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Deployment
33
metadata:
44
name: experiment-platform-frontend
55
spec:
6+
revisionHistoryLimit: 5
67
replicas: 1
78
selector:
89
matchLabels:

services/homepage/base/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ kind: Deployment
55
metadata:
66
name: homepage-api
77
spec:
8+
revisionHistoryLimit: 5
89
replicas: 1
910
selector:
1011
matchLabels:
@@ -42,6 +43,7 @@ kind: Deployment
4243
metadata:
4344
name: homepage-frontend
4445
spec:
46+
revisionHistoryLimit: 5
4547
replicas: 1
4648
selector:
4749
matchLabels:

0 commit comments

Comments
 (0)