Commit Graph

678 Commits

Author SHA1 Message Date
Janis Eccarius 25f230fd18 chore(spark): integrate upstream main into spark-analytics branch 2026-06-16 19:58:26 +02:00
Janis Eccarius d962dfda22 feat(spark): replace Bitnami chart with Apache Spark manifests
Bitnami Spark chart requires a Broadcom commercial license. Replace with
plain Deployments using apache/spark:3.5.4-scala2.13-java17-ubuntu
(Apache 2.0, same image used by the analytics jobs):
- spark-master: Deployment + ClusterIP Service (ports 7077/8080)
- spark-worker: Deployment, 2 replicas, connects to spark-master:7077
- spark-history-server: updated to apache/spark image
Ingress backend corrected to spark-master:8080.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 19:48:51 +02:00
Janis 63e9d0512c feat(nci-11): add Kubernetes manifests for nowchess-analysis service (#392)
Co-authored-by: Janis Eccarius <eccariusjanis@gmail.com>
Reviewed-on: #392
2026-06-16 19:42:04 +02:00
svc.kargo 0442352b3e chore(kargo): update image tag frontend to 0.3.0 on eu-central-1-prod (#391) 2026-06-16 10:37:05 +02:00
svc.kargo 44b3369501 chore(kargo): update image tag tournament to 0.2.0 on eu-central-1-prod (#390) 2026-06-16 10:36:25 +02:00
svc.kargo fd62f236fa chore(kargo): update image tag core to 0.51.0 on eu-central-1-prod (#389) 2026-06-16 10:35:46 +02:00
svc.kargo d0d4370c50 chore(kargo): update image tag tournament to 0.2.0-x86_v2 on htwg-1-prod (#388) 2026-06-16 10:35:25 +02:00
svc.kargo 1dd1cacbb4 chore(kargo): update image tag core to 0.51.0-x86_v2 on htwg-1-prod (#387) 2026-06-16 10:35:20 +02:00
svc.kargo 1a3403a48e chore(kargo): update image tag analysis to 0.2.0-x86_v2 on htwg-1-prod (#386) 2026-06-16 10:35:12 +02:00
svc.kargo 9b906edfc9 chore(kargo): update image tag analysis to 0.2.0 on eu-central-1-prod (#385) 2026-06-16 10:35:05 +02:00
svc.kargo d6a05d2e1e chore(kargo): update image tag frontend to 0.3.0-x86_v2 on htwg-1-prod (#384) 2026-06-16 10:35:04 +02:00
svc.kargo 0bb5aabf98 chore(kargo): update image tag analysis to 0.2.0 on staging (#383) 2026-06-15 23:01:39 +02:00
Janis Eccarius cdfec30284 feat(spark): add Spark History Server Deployment and Service
The Bitnami spark chart 9.2.10 does not render a history server despite
historyServer.enabled=true in values. Add an explicit Deployment and
ClusterIP Service (spark-history-server-svc:18080) using the same
bitnami/spark:3.5.2 image, wired to the shared spark-events PVC.
The existing spark-history-ingress now has a valid backend.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 22:44:02 +02:00
Janis Eccarius eefa6e728a feat(spark): deploy persistent Spark cluster with Web UI
- Add spark-cluster/base with Bitnami Spark chart 9.2.10 (master +
  2 workers), spark-events PVC (RWO/local-path), and Ingress resources
  for spark.nowchess.janis-eccarius.de (master UI) and
  spark-history.nowchess.janis-eccarius.de (history placeholder)
- Add spark-cluster/eu-central-1-prod overlay and ArgoCD Application
  (automated prune + selfHeal)
- Migrate all spark-analytics CronJobs and streaming Deployment from
  K8s-native mode (k8s://...) to Spark standalone (spark://spark-master:7077);
  drop kubernetes-specific --conf flags; add eventLog confs; mount
  spark-events PVC on all job pods

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 22:41:33 +02:00
Janis Eccarius a3eb172916 feat(nci): add Spark analytics Kubernetes manifests
Wire five Spark jobs (OpeningBook, PlayerStats, PlayerClustering,
PlayerGraph, LiveDashboard) to Kubernetes via native Spark-on-K8s mode.

- spark-analytics/base: ServiceAccount, RBAC Role/RoleBinding (driver
  executor pod management), two PVCs (10Gi output, 2Gi checkpoint),
  four CronJobs for batch analytics, one Deployment for the Structured
  Streaming live dashboard
- spark-analytics/eu-central-1-prod: namespace overlay pinning image
  to 0.1.0 with strategic merge patches that update both the container
  image field and the spark.kubernetes.container.image conf arg
- eu-central-1/argo-apps/spark-analytics: ArgoCD Application pointing
  at the prod overlay with automated prune+selfHeal sync

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 22:25:28 +02:00
svc.kargo 767a7f28a1 chore(kargo): update image tag tournament to 0.2.0 on staging (#382) 2026-06-15 22:23:21 +02:00
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
shosho996 b546313e79 feat: NCI-12 kargo (#364)
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de>
Reviewed-on: #364
Co-authored-by: Shahd Lala <shosho996@blackhole.local>
Co-committed-by: Shahd Lala <shosho996@blackhole.local>
2026-06-15 22:17:32 +02:00
svc.kargo afdc648347 chore(kargo): update image tag kargo to 1.10.7 (#380) 2026-06-12 18:23:35 +02:00
svc.kargo 93793671e3 chore(kargo): update image tag frontend to 0.3.0 on staging (#379) 2026-06-10 22:45:48 +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
svc.kargo 8f6ae5b69e chore(kargo): update image tag core to 0.51.0 on staging (#378) 2026-06-10 11:55:00 +02:00
svc.kargo bbb57cfc15 chore(kargo): update image tag frontend to 0.2.8 on staging (#377) 2026-06-10 11:23:20 +02:00
svc.kargo 139a9f5169 chore(kargo): update image tag frontend to 0.2.7 on eu-central-1-prod (#376) 2026-06-10 10:33:48 +02:00
svc.kargo 6b218fbe47 chore(kargo): update image tag ws to 0.16.0 on eu-central-1-prod (#375) 2026-06-10 10:33:02 +02:00
svc.kargo 601614b7d6 chore(kargo): update image tag account to 0.24.0 on eu-central-1-prod (#374) 2026-06-10 10:32:24 +02:00
svc.kargo ebd2e51b0a chore(kargo): update image tag official-bots to 0.17.0 on eu-central-1-prod (#373) 2026-06-10 10:31:45 +02:00
svc.kargo 2dd74b07d4 chore(kargo): update image tag core to 0.50.0 on eu-central-1-prod (#372) 2026-06-10 10:31:00 +02:00
svc.kargo 8d2c3fefd3 chore(kargo): update image tag frontend to 0.2.7-x86_v2 on htwg-1-prod (#371) 2026-06-10 10:30:51 +02:00
svc.kargo f0b56b563a chore(kargo): update image tag ws to 0.16.0-x86_v2 on htwg-1-prod (#370) 2026-06-10 10:30:45 +02:00
svc.kargo e65bbcb5d7 chore(kargo): update image tag account to 0.24.0-x86_v2 on htwg-1-prod (#369) 2026-06-10 10:30:38 +02:00
svc.kargo ac34a9a856 chore(kargo): update image tag official-bots to 0.17.0-x86_v2 on htwg-1-prod (#368) 2026-06-10 10:30:32 +02:00
svc.kargo c5b1a1c022 chore(kargo): update image tag core to 0.50.0-x86_v2 on htwg-1-prod (#367) 2026-06-10 10:30:25 +02:00
svc.kargo 00918a724d chore(kargo): update image tag bot-platform to 0.12.0 on eu-central-1-prod (#366) 2026-06-10 10:30:20 +02:00
svc.kargo e97750e6d3 chore(kargo): update image tag bot-platform to 0.12.0-x86_v2 on htwg-1-prod (#365) 2026-06-10 10:30:19 +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
svc.kargo f48e4e9de1 chore(kargo): update image tag account to 0.24.0 on staging (#363) 2026-06-10 10:04:34 +02:00
svc.kargo 491482eb53 chore(kargo): update image tag ws to 0.16.0 on staging (#362) 2026-06-10 10:03:48 +02:00
svc.kargo 6f938c4ba9 chore(kargo): update image tag bot-platform to 0.12.0 on staging (#361) 2026-06-10 10:03:03 +02:00
svc.kargo bd9571fc91 chore(kargo): update image tag core to 0.50.0 on staging (#360) 2026-06-10 10:02:21 +02:00
svc.kargo 34bf5f0d6d chore(kargo): update image tag official-bots to 0.17.0 on staging (#359) 2026-06-10 10:01:36 +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
svc.kargo 5dfca60e2a chore(kargo): update image tag kargo to 1.10.6 (#357) 2026-06-09 19:08:16 +02:00
svc.kargo 4c88228b02 chore(kargo): update image tag official-bots to 0.16.0 on staging (#356) 2026-06-09 15:38:17 +02:00
svc.kargo 125eae3ab1 chore(kargo): update image tag core to 0.49.0 on staging (#355) 2026-06-09 15:37:29 +02:00
svc.kargo 6e2028cadf chore(kargo): update image tag account to 0.22.0 on staging (#354) 2026-06-09 15:36:53 +02:00