feat: add Kubernetes deployment with ArgoCD

- Add k8s/ manifests (Deployment, Service, Ingress)
- Use Kustomize for configuration
- ArgoCD application for GitOps deployment
- Traefik ingress with Let's Encrypt TLS
- Deploy script for CI/CD workflow

Deploys to: https://whalehunting.kube2.tricnet.de

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2026-02-04 23:28:55 +01:00
parent 576799ae0e
commit b0fb15fe7b
7 changed files with 178 additions and 0 deletions

26
k8s/ingress.yaml Normal file
View File

@@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: whalehunting
namespace: whalehunting
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
labels:
app.kubernetes.io/name: whalehunting
spec:
ingressClassName: traefik
rules:
- host: whalehunting.kube2.tricnet.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: whalehunting
port:
name: http
tls:
- hosts:
- whalehunting.kube2.tricnet.de
secretName: whalehunting-tls