Skip to content

Commit

Permalink
Merge pull request #558 from dark-vex/harbor-storage
Browse files Browse the repository at this point in the history
feat(kubenuc): Increase core and portal replicas (with spread) and move redis to longhorn sc
  • Loading branch information
dark-vex authored May 25, 2024
2 parents cb0bfe5 + f8cb7be commit fdb1c6c
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 fdb1c6c

Please sign in to comment.