feat(nowchess): replace static replicas with Horizontal Pod Autoscaler for improved scalability

This commit is contained in:
2026-05-01 19:13:30 +02:00
parent f59e7d4fcf
commit 12e141205a
3 changed files with 9 additions and 18 deletions
-8
View File
@@ -5,7 +5,6 @@ metadata:
labels: labels:
app: nowchess-account app: nowchess-account
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-account app: nowchess-account
@@ -97,7 +96,6 @@ metadata:
labels: labels:
app: nowchess-bot-platform app: nowchess-bot-platform
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-bot-platform app: nowchess-bot-platform
@@ -155,7 +153,6 @@ metadata:
labels: labels:
app: nowchess-coordinator app: nowchess-coordinator
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-coordinator app: nowchess-coordinator
@@ -313,7 +310,6 @@ metadata:
labels: labels:
app: nowchess-io app: nowchess-io
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-io app: nowchess-io
@@ -372,7 +368,6 @@ metadata:
labels: labels:
app: nowchess-official-bots app: nowchess-official-bots
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-official-bots app: nowchess-official-bots
@@ -430,7 +425,6 @@ metadata:
labels: labels:
app: nowchess-rule app: nowchess-rule
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-rule app: nowchess-rule
@@ -489,7 +483,6 @@ metadata:
labels: labels:
app: nowchess-store app: nowchess-store
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-store app: nowchess-store
@@ -567,7 +560,6 @@ metadata:
labels: labels:
app: nowchess-ws app: nowchess-ws
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: nowchess-ws app: nowchess-ws
@@ -20,26 +20,26 @@ patches:
kind: ConfigMap kind: ConfigMap
name: nowchess-env-config name: nowchess-env-config
- patch: |- - patch: |-
apiVersion: argoproj.io/v1alpha1 apiVersion: autoscaling/v2
kind: Rollout kind: HorizontalPodAutoscaler
metadata: metadata:
name: nowchess-account name: nowchess-account
spec: spec:
replicas: 1 minReplicas: 1
- patch: |- - patch: |-
apiVersion: argoproj.io/v1alpha1 apiVersion: autoscaling/v2
kind: Rollout kind: HorizontalPodAutoscaler
metadata: metadata:
name: nowchess-core name: nowchess-core
spec: spec:
replicas: 1 minReplicas: 1
- patch: |- - patch: |-
apiVersion: argoproj.io/v1alpha1 apiVersion: autoscaling/v2
kind: Rollout kind: HorizontalPodAutoscaler
metadata: metadata:
name: nowchess-ws name: nowchess-ws
spec: spec:
replicas: 1 minReplicas: 1
images: images:
- name: ghcr.io/now-chess/now-chess-systems/account - name: ghcr.io/now-chess/now-chess-systems/account
newTag: 0.4.0 newTag: 0.4.0
@@ -4,7 +4,6 @@ metadata:
name: postgres-tunnel name: postgres-tunnel
namespace: postgres-tunnel namespace: postgres-tunnel
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: postgres-tunnel app: postgres-tunnel