init: FastAPI priprema-za-kolokvij + k8s manifesti (monorepo)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: priprema-ingress
|
||||
namespace: student-petracamber
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: petracamber.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!)
|
||||
|
||||
Reference in New Issue
Block a user