19 lines
388 B
YAML
19 lines
388 B
YAML
# Kubernetes Ingress(可选)
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: tornado-elevue
|
|
namespace: default
|
|
spec:
|
|
rules:
|
|
- host: api.example.com
|
|
http:
|
|
paths:
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: tornado-elevue
|
|
port:
|
|
name: http
|