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
18 lines
392 B
YAML
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 |