Add initial project structure with Dockerfile, Kubernetes manifests, and FastAPI application

This commit is contained in:
2026-06-09 10:14:55 +02:00
commit a2b21cc9d3
8 changed files with 121 additions and 0 deletions

18
k8s/service.yaml Normal file
View File

@@ -0,0 +1,18 @@
# TODO: napiši Service
# Ime: k2-svc | Namespace: kolokvij2-IME-PREZIME
# Tip: ClusterIP | port: 80 -> targetPort: 8000
apiVersion: v1
kind: Service
metadata:
name: k2-svc
namespace: kolokvij2-fsusak03
spec:
selector:
app: k2-app
ports:
- port: 80
targetPort: 8000
protocol: TCP
type: ClusterIP