feat: dodaj Kubernetes manifeste

This commit is contained in:
2026-05-19 10:24:54 +02:00
parent 2ecad4d349
commit 44f271f1a0
9 changed files with 231 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fastapi-api-ingress
namespace: student-dinkoglc
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
rules:
- host: dinkoglc.fpmoz.sum.ba
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fastapi-api-service
port:
number: 80
tls:
- hosts:
- dinkoglc.fpmoz.sum.ba
secretName: fastapi-api-tls