init: FastAPI priprema-za-kolokvij + k8s manifesti (monorepo)
This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
namespace: student-tony773
|
||||
spec:
|
||||
selector:
|
||||
app: priprema-za-kolokvij # spaja Service s Podovima koji imaju ovaj label
|
||||
app: priprema-za-kolokvij2 # spaja Service s Podovima koji imaju ovaj label
|
||||
ports:
|
||||
- port: 80 # port koji Service eksponira (Ingress ce slati ovdje)
|
||||
targetPort: 8000 # port containera (uvicorn slusa na 8000)
|
||||
|
||||
Reference in New Issue
Block a user