This commit is contained in:
ITO Mac
2026-05-26 10:23:44 +02:00
parent e989617b6d
commit c8cd541348
7 changed files with 92 additions and 0 deletions

18
k8s/ingress.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: priprema-ingress
namespace: student-blazp04
spec:
ingressClassName: traefik
rules:
- host: blazp04.argocd.fpmoz.sum.ba
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: priprema-svc # mora odgovarati service.yaml
port:
number: 80 # port Servicea (ne containera!)