This commit is contained in:
ITO Mac
2026-05-19 10:53:09 +02:00
parent 676eb30826
commit 35d0d4b3b9
9 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fastapi-ingress
namespace: student-blazp04
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: blazp04.student.k3s.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fastapi-service
port:
number: 80