feat(ingress): add HTTP ingress for Consul service

This commit is contained in:
suyiiyii 2025-01-20 13:06:42 +08:00
parent 01d85d5f7f
commit 40388d3e8c
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85

View File

@ -20,3 +20,20 @@ spec:
name: consul
port:
number: 8500
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: consul-http-ingress
spec:
rules:
- host: consul.kl.suyiiyii.top
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: consul
port:
number: 8500