PERF(zot): scale down to single replica
- Reduce replicas from 2 to 1 - Remove Redis session driver (no longer needed) - Remove podAntiAffinity configuration
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
controllers:
|
controllers:
|
||||||
zot:
|
zot:
|
||||||
type: deployment
|
type: deployment
|
||||||
replicas: 2
|
replicas: 1
|
||||||
strategy: RollingUpdate
|
strategy: RollingUpdate
|
||||||
containers:
|
containers:
|
||||||
zot:
|
zot:
|
||||||
@@ -38,17 +38,6 @@ controllers:
|
|||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
pod:
|
|
||||||
affinity:
|
|
||||||
podAntiAffinity:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
- weight: 100
|
|
||||||
podAffinityTerm:
|
|
||||||
labelSelector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: zot
|
|
||||||
topologyKey: kubernetes.io/hostname
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
zot:
|
zot:
|
||||||
controller: zot
|
controller: zot
|
||||||
@@ -143,12 +132,7 @@ configMaps:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sessionKeysFile": "/etc/zot/session-keys.json",
|
"sessionKeysFile": "/etc/zot/session-keys.json"
|
||||||
"sessionDriver": {
|
|
||||||
"name": "redis",
|
|
||||||
"url": "redis://authelia-redis-master.authelia.svc.cluster.local:6379",
|
|
||||||
"keyprefix": "zot"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"log": {
|
"log": {
|
||||||
|
|||||||
Reference in New Issue
Block a user