Files
math-tables/deploy/base/service.yaml
Rene Luria f94dd12216 feat: Configure production deployment with math-tables namespace and ingress
Changes made:

- Remove problematic configuration-snippet from base ingress

- Add namespace creation for math-tables

- Configure ingress with nginx class and letsencrypt-prod issuer

- Set production hostname to math-tables.cl1.parano.ch

- Reduce production replicas to 1

- Update copyright year in index.html
2025-09-03 22:06:32 +02:00

18 lines
392 B
YAML

apiVersion: v1
kind: Service
metadata:
name: math-exercises-service
annotations:
# Security annotations
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
spec:
selector:
app: math-exercises
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8000
type: ClusterIP
# Only accessible within the cluster
internalTrafficPolicy: Local