feat: add Kubernetes Kustomize deployment manifests

Add k8s/base/ directory with Kustomize manifests for deploying
the scrum-manager application to Kubernetes:

- Namespace (scrum-manager)
- MySQL: Deployment, Service, PVC, Secret
- Backend: Deployment (2 replicas) with init container, Service
- Frontend: Deployment (2 replicas), Service (NodePort), ConfigMap (nginx.conf)

All deployments include resource requests/limits, liveness/readiness
probes, and proper label selectors.
This commit is contained in:
tusuii
2026-02-16 12:25:56 +05:30
parent 892a2ceba1
commit 2db45de4c4
11 changed files with 359 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: Secret
metadata:
name: mysql-secret
labels:
app.kubernetes.io/name: mysql
app.kubernetes.io/component: database
type: Opaque
data:
# Base64 encoded values — change these for production!
# echo -n 'scrumpass' | base64 => c2NydW1wYXNz
# echo -n 'root' | base64 => cm9vdA==
# echo -n 'scrum_manager' | base64 => c2NydW1fbWFuYWdlcg==
MYSQL_ROOT_PASSWORD: c2NydW1wYXNz
DB_USER: cm9vdA==
DB_PASSWORD: c2NydW1wYXNz
DB_NAME: c2NydW1fbWFuYWdlcg==