feat: 初始化零工后端代码
This commit is contained in:
24
gig-poc/infrastructure/k8s/ingress.yaml
Normal file
24
gig-poc/infrastructure/k8s/ingress.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gig-poc-ingress
|
||||
namespace: gig-poc
|
||||
spec:
|
||||
rules:
|
||||
- host: gig-poc.local
|
||||
http:
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gig-poc-api
|
||||
port:
|
||||
number: 8000
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gig-poc-web
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user