feat(ingress): add HTTP ingress for Consul service
This commit is contained in:
parent
01d85d5f7f
commit
40388d3e8c
@ -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
|
Loading…
x
Reference in New Issue
Block a user