Skip to content

Commit

Permalink
feat(kubenuc): Increase core and portal replicas (with spread) and mo…
Browse files Browse the repository at this point in the history
…ve redis to longhorn sc

Signed-off-by: Daniele De Lorenzi <daniele.delorenzi@fastnetserv.net>
  • Loading branch information
dark-vex committed May 25, 2024
1 parent cb0bfe5 commit f8cb7be
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions clusters/kubenuc/apps/harbor/manifests/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,33 @@ spec:
values:
externalURL: https://harbor.ddlns.net
core:
replicas: 3
resources:
requests:
memory: 256Mi
cpu: 100m
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: harbor
component: portal
portal:
replicas: 3
resources:
requests:
memory: 256Mi
cpu: 100m
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: harbor
component: portal
metrics:
enabled: "true"
# registry:
Expand Down Expand Up @@ -73,3 +91,7 @@ spec:
requests:
memory: 256Mi
cpu: 100m
persistence:
persistentVolumeClaim:
redis:
storageClass: longhorn

0 comments on commit f8cb7be

Please sign in to comment.