Files
GitOps/nowchess/eu-central-1-staging/kustomization.yaml
T
Janis 0373f61ef7 feat(nci-11): add Kubernetes manifests for nowchess-analysis service (#381)
Add Argo Rollout (blueGreen), active/preview Services, and HPA for the
new analysis service (port 8087). Wire image pins into all three overlay
kustomizations and register the analysis Warehouse and freight entries in
all three Kargo Stages (staging -> eu-central-1-prod / htwg-1-prod).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Janis Eccarius <eccariusjanis@gmail.com>
Reviewed-on: #381
2026-06-15 22:17:45 +02:00

125 lines
3.0 KiB
YAML
Executable File

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: nowchess-staging
resources:
- ../base
- ingress.yaml
- rbac-coordinator.yaml
patches:
- patch: |-
apiVersion: v1
kind: ConfigMap
metadata:
name: nowchess-env-config
data:
QUARKUS_PROFILE: deployed
CORS_ORIGINS: https://st.nowchess.janis-eccarius.de
NOWCHESS_COORDINATOR_ENABLED: "true"
NOWCHESS_COORDINATOR_SCALE_MIN_REPLICAS: "1"
REDIS_PREFIX: nowchess-staging
QUARKUS_LOG_LEVEL: "INFO"
target:
kind: ConfigMap
name: nowchess-env-config
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-analysis
spec:
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-account
spec:
minReplicas: 1
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-ws
spec:
minReplicas: 1
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-bot-platform
spec:
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-io
spec:
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-official-bots
spec:
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-rule
spec:
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-store
spec:
maxReplicas: 1
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: nowchess-tournament
spec:
maxReplicas: 1
- patch: |-
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: nowchess-core
spec:
replicas: 1
images:
- name: ghcr.io/now-chess/now-chess-systems/analysis
newTag: 0.1.0
- name: ghcr.io/now-chess/now-chess-systems/account
newTag: 0.24.0
- name: ghcr.io/now-chess/now-chess-systems/bot-platform
newTag: 0.12.0
- name: ghcr.io/now-chess/now-chess-systems/coordinator
newTag: 0.32.0
- name: ghcr.io/now-chess/now-chess-systems/core
newTag: 0.51.0
- name: ghcr.io/now-chess/now-chess-systems/frontend
newTag: 0.3.0
- name: ghcr.io/now-chess/now-chess-systems/io
newTag: 0.23.0
- name: ghcr.io/now-chess/now-chess-systems/official-bots
newTag: 0.17.0
- name: ghcr.io/now-chess/now-chess-systems/rule
newTag: 0.18.0
- name: ghcr.io/now-chess/now-chess-systems/store
newTag: 0.24.0
- name: ghcr.io/now-chess/now-chess-systems/tournament
newTag: 0.1.0
- name: ghcr.io/now-chess/now-chess-systems/ws
newTag: 0.16.0
configurations:
- rollout-transform.yaml
openapi:
path: argo_all_k8s_kustomize_schema.json