KA-R004: Single replica Deployment
Warning Reliability
Why This Matters
The Deployment specifies only 1 replica (or omits the replicas field, which defaults to 1). A single-replica Deployment has no redundancy and will experience downtime during rolling updates or node failures.
How to Fix
Set replicas to 2 or more for production workloads
Before (incorrect)
spec:
replicas: 1 After (correct)
spec:
replicas: 2 Rule Details
- Rule Code
- KA-R004
- Severity
- Warning
- Category
- Reliability