Harbor replicas and anit-affinity
This commit is contained in:
parent
2427fe07ba
commit
d3ccc88c20
@ -35,19 +35,56 @@ spec:
|
|||||||
values:
|
values:
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
expose:
|
||||||
|
tls:
|
||||||
|
certSource: secret
|
||||||
|
secret:
|
||||||
|
secretName: harbor-harbor-ingress
|
||||||
portal:
|
portal:
|
||||||
|
replicas: 2
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: component
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- portal
|
||||||
|
- key: app
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- harbor
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
core:
|
core:
|
||||||
|
replicas: 2
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: component
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- core
|
||||||
|
- key: app
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- harbor
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
jobservice:
|
jobservice:
|
||||||
|
replicas: 1
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
registry:
|
registry:
|
||||||
|
replicas: 2
|
||||||
registry:
|
registry:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
@ -56,3 +93,17 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: component
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- registry
|
||||||
|
- key: app
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- harbor
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
Loading…
Reference in New Issue
Block a user