add: Traefik ingress with custom host

This commit is contained in:
Ivan Filipovic
2026-05-04 16:47:58 +02:00
parent 221dfe37a6
commit 4c4a81c1a1
2 changed files with 26 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: moj-servis-svc
namespace: student-ivanivso7
namespace: student-VAS_KORISNIK
spec:
selector:
app: moj-servis
@@ -10,4 +10,4 @@ spec:
- port: 80
targetPort: 8000
protocol: TCP
type: NodePort
type: ClusterIP # PROMIJENJENO iz NodePort