Skip to content

Commit c85586d

Browse files
arielr-ltAriel Rolfo
andauthored
add pdb for redis (#1009)
Co-authored-by: Ariel Rolfo <arielr-lt+username@users.noreply.github.com>
1 parent 2928b11 commit c85586d

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

terraform/environments/eks/k8s-manifests-prod/redis-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ spec:
1515
metadata:
1616
labels:
1717
app: redis
18+
annotations:
19+
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
1820
spec:
1921
priorityClassName: prod-high
2022
nodeSelector:
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: policy/v1
2+
kind: PodDisruptionBudget
3+
metadata:
4+
name: redis-pdb
5+
namespace: credreg-prod
6+
spec:
7+
minAvailable: 1
8+
selector:
9+
matchLabels:
10+
app: redis

0 commit comments

Comments
 (0)