|
Last change
on this file since 0427f59 was 52fee06, checked in by Andrej <asumanovski@…>, 2 weeks ago |
|
Complete Kubernetes manifests with ConfigMap, Secrets, StatefulSet, Ingress
- namespace.yaml: trekr namespace
- configmaps.yaml: backend non-secret config (DB URL, Hibernate settings)
- postgres.yaml: StatefulSet + PVC + ClusterIP Service, init SQL from ConfigMap
- backend.yaml: Deployment with ConfigMap + Secrets refs, ClusterIP Service
- frontend.yaml: Deployment + ClusterIP Service
- ingress.yaml: nginx Ingress routing trekr.local → frontend
- deploy-local.sh: one-shot local demo script for Docker Desktop Kubernetes
|
-
Property mode
set to
100644
|
|
File size:
435 bytes
|
| Rev | Line | |
|---|
| [52fee06] | 1 | apiVersion: networking.k8s.io/v1
|
|---|
| 2 | kind: Ingress
|
|---|
| 3 | metadata:
|
|---|
| 4 | name: trekr-ingress
|
|---|
| 5 | namespace: trekr
|
|---|
| 6 | annotations:
|
|---|
| 7 | nginx.ingress.kubernetes.io/proxy-body-size: "10m"
|
|---|
| 8 | spec:
|
|---|
| 9 | ingressClassName: nginx
|
|---|
| 10 | rules:
|
|---|
| 11 | - host: trekr.local
|
|---|
| 12 | http:
|
|---|
| 13 | paths:
|
|---|
| 14 | - path: /
|
|---|
| 15 | pathType: Prefix
|
|---|
| 16 | backend:
|
|---|
| 17 | service:
|
|---|
| 18 | name: frontend
|
|---|
| 19 | port:
|
|---|
| 20 | number: 80
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.