Skip to content

Commit

Permalink
add cloudnative-pg
Browse files Browse the repository at this point in the history
  • Loading branch information
prehor committed May 17, 2024
1 parent 2416872 commit 5318ec8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
strategy: rollback
retries: 3
values:
replicas: 3
replicas: 2
kind: Deployment
deschedulerPolicyAPIVersion: descheduler/v1alpha2
deschedulerPolicy:
Expand Down Expand Up @@ -56,6 +56,20 @@ spec:
- RemovePodsViolatingInterPodAntiAffinity
- RemovePodsViolatingNodeAffinity
- RemovePodsViolatingNodeTaints
resources:
request:
cpu: 100m
memory: 64Mi
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- descheduler
topologyKey: "kubernetes.io/hostname"
service:
enabled: true
serviceMonitor:
Expand Down
14 changes: 7 additions & 7 deletions kubernetes/main/apps/storage/rook-ceph/cluster/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,25 @@ spec:
resources:
mgr:
requests:
cpu: "125m"
cpu: "100m"
memory: "512Mi"
limits:
memory: "2Gi"
mon:
requests:
cpu: "49m"
cpu: "50m"
memory: "512Mi"
limits:
memory: "1Gi"
osd:
requests:
cpu: "442m"
cpu: "500m"
memory: "2Gi"
limits:
memory: "6Gi"
mgr-sidecar:
requests:
cpu: "49m"
cpu: "50m"
memory: "128Mi"
limits:
memory: "256Mi"
Expand All @@ -99,13 +99,13 @@ spec:
memory: "64Mi"
logcollector:
requests:
cpu: "100m"
cpu: "50m"
memory: "100Mi"
limits:
memory: "1Gi"
cleanup:
requests:
cpu: "250m"
cpu: "100m"
memory: "100Mi"
limits:
memory: "1Gi"
Expand Down Expand Up @@ -159,7 +159,7 @@ spec:
priorityClassName: system-cluster-critical
resources:
requests:
cpu: "35m"
cpu: "100m"
memory: "1Gi"
limits:
memory: "3Gi"
Expand Down

0 comments on commit 5318ec8

Please sign in to comment.