Commit Graph

36 Commits

Author SHA1 Message Date
LQ63 738406c4e5 chore: set tournament bot difficulty to hard
Delete PR Branch On Close / delete-branch (pull_request) Has been skipped
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 02:13:50 +02:00
LQ63 6cef31d142 feat: wire official-bots to external tournament server
Adds the env vars and secret structure needed for the official-bots pod
to connect to the external tournament server at 141.37.123.132:8086.

- TOURNAMENT_SERVER_URL and TOURNAMENT_BOT_DIFFICULTY added as plain env
  vars to the nowchess-official-bots rollout
- TOURNAMENT_BOT_TOKEN wired from a new ncs-tournament-secret SealedSecret
- Placeholder SealedSecret files added for staging, eu-central-1-prod, and
  htwg-1-prod — must be sealed with a real bot token before deploying

TOURNAMENT_ID is intentionally omitted; it is per-tournament and supplied
at runtime via POST /api/bots/official/join-tournament.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 02:04:26 +02:00
Janis Eccarius 07a12d7060 feat(nci-11): add Kubernetes manifests for nowchess-analysis service
Delete PR Branch On Close / delete-branch (pull_request) Successful in 5s
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>
2026-06-10 16:03:20 +02:00
Janis 783984f3ce feat(metrics): decrease maxReplicas for nowchess-tournament rollout 2026-06-10 10:26:49 +02:00
Janis 6604d61575 feat(metrics): increase CPU utilization threshold and adjust memory request for rollouts 2026-06-10 10:23:23 +02:00
Janis 2dbb106e8a feat(metrics): update database secret keys for account configuration in nowchess rollouts 2026-06-10 10:20:24 +02:00
Janis 26b5e73aa3 feat(metrics): add ACCOUNT_SERVICE_URL environment variable to nowchess rollouts 2026-06-10 10:16:38 +02:00
Janis 6b2ba5d90c feat(metrics): add INTERNAL_SECRET environment variable to Redis configuration 2026-06-10 10:04:48 +02:00
shosho996 a55a07fa39 feat: NCI 12 stuff for tournment (#358)
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de>
Reviewed-on: #358
2026-06-09 23:52:36 +02:00
Janis Eccarius ec10c55094 chore: mode changes 2026-06-06 15:47:25 +02:00
Janis Eccarius 1d0335f478 fix(rollouts): add previewReplicaCount: 1 to all blue-green rollouts
During rollout, active RS (HPA-scaled) + preview RS (also HPA-scaled) = 2x
pod count, exhausting node memory request budgets. Setting previewReplicaCount: 1
caps the preview RS at 1 pod regardless of HPA until promotion completes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 23:27:24 +02:00
Janis Eccarius 747363209a fix(resources): lower memory requests to fix ArgoCD controller scheduling
metrics-server activation triggered simultaneous HPA scale-ups, exhausting
node request budgets despite sufficient physical RAM. ArgoCD application-
controller (256Mi request) could not schedule on either node.

- argocd controller: 256Mi → 128Mi request (unblocks scheduling immediately)
- nowchess services: 128Mi → 96Mi request (prevents HPA cascade from filling nodes)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 22:51:26 +02:00
Janis f01a38a7e2 feat(nowchess): add frontend environment configuration and update rollouts to use ConfigMap 2026-05-19 09:18:07 +02:00
Janis 58a2310fed feat(nowchess): add maximum replicas configuration for coordinator scaling 2026-05-16 13:48:00 +02:00
Janis bea87b9ca7 feat(nowchess): add rollback window configuration with 3 revisions for rollouts 2026-05-13 23:05:39 +02:00
Janis 96a6bf930c feat(nowchess): add coordinator scale minimum replicas to environment configuration 2026-05-13 23:02:09 +02:00
Janis 24dd941c3a feat(nowchess): update metrics and health check paths for Grafana scraping 2026-05-13 17:03:52 +02:00
Janis 02142904e5 feat(nowchess): update metrics and health check paths for Grafana scraping 2026-05-13 17:02:20 +02:00
Janis 80db4d1992 feat(nowchess): update API paths for metrics and health checks in ingress and rollouts 2026-05-13 16:55:41 +02:00
Janis daee171e9b feat(nowchess): update metrics paths for Grafana scraping to include API endpoints 2026-05-13 09:05:32 +02:00
Janis cebaae52ad feat(nowchess): update health check paths for liveness and readiness probes 2026-05-13 09:00:26 +02:00
Janis 9d9a075017 feat(nowchess): update metrics path for Grafana scraping 2026-05-12 19:03:17 +02:00
Janis 963f7ad271 feat(nowchess): update Prometheus annotations to Grafana-compatible format 2026-05-12 17:26:07 +02:00
shosho996 4beab3b687 feat: NCS-74 Frontend Deployment config files (#119)
Co-authored-by: Copilot <copilot@github.com>
---------

Co-authored-by: shahdlala66 <shahd.lala66@gmail.com>
Reviewed-on: #119
Co-authored-by: Shahd Lala <shosho996@blackhole.local>
Co-committed-by: Shahd Lala <shosho996@blackhole.local>
2026-05-12 11:18:29 +02:00
Janis ed88b3f3d6 feat(nowchess): add Prometheus annotations for metrics scraping 2026-05-10 11:03:52 +02:00
Janis 099c546af2 feat(nowchess): add OpenTelemetry exporter endpoint for Grafana monitoring 2026-05-09 20:53:17 +02:00
Janis 5ab7e6d51d feat(grafana): add Grafana Alloy application configuration and update health probe settings 2026-05-09 16:25:33 +02:00
Janis 66221bd7e8 feat(nowchess): add environment variable for coordinator K8s namespace 2026-05-02 22:22:12 +02:00
Janis 567109ba36 fix(nowchess): set service account for nowchess coordinator rollout 2026-05-02 22:16:57 +02:00
Janis d5ae2c4f75 fix(nowchess): set default service account for nowchess account rollout 2026-05-02 22:16:05 +02:00
Janis 12e141205a feat(nowchess): replace static replicas with Horizontal Pod Autoscaler for improved scalability 2026-05-01 19:13:42 +02:00
Janis 58f5b8b96c feat(nowchess): add Horizontal Pod Autoscaler configurations and adjust resource requests for rollouts 2026-04-30 18:33:40 +02:00
Janis e4cf2c3492 feat(nowchess): add workflow to delete PR branches on close and update environment configurations 2026-04-30 16:42:37 +02:00
Janis 9f2b20f5db feat(nowchess): update REDIS_HOST to use fully qualified domain name 2026-04-30 12:22:15 +02:00
Janis 262ce1ad72 feat(nowchess): set REDIS_PREFIX per environment
staging: nowchess-staging, production: nowchess

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 11:03:41 +02:00
Janis 2022631f45 feat(nowchess): add Kargo project, Rollouts deployment, and secrets
- 9 Kargo Warehouses (one per microservice), staging + prod stages
- PromotionTask: clone GitOps, kustomize-set-image, Gitea PR, ArgoCD sync
- BlueGreen Rollouts for all 9 services with health probes and envFrom
- staging,deployed / production,deployed Quarkus multi-profile support
- CORS_ORIGINS and QUARKUS_PROFILE injected via nowchess-env-config ConfigMap
- Plain K8s Secrets with empty values in secrets/nowchess/ (staging, prod, kargo)
- ArgoCD Applications for kargo project, staging, and prod deployments

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 10:58:45 +02:00