Compare commits
2 Commits
c42ec687f1
...
c86810dcfe
Author | SHA1 | Date | |
---|---|---|---|
c86810dcfe | |||
c23be86a2a |
18
consul-ingress.yaml
Normal file
18
consul-ingress.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: consul-ingress
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: consul.kl.suyiiyii.top
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: consul
|
||||||
|
port:
|
||||||
|
number: 8500
|
@ -12,4 +12,4 @@ spec:
|
|||||||
protocol: UDP
|
protocol: UDP
|
||||||
targetPort: 8600
|
targetPort: 8600
|
||||||
selector:
|
selector:
|
||||||
io.kompose.service: consul
|
app: consul
|
||||||
|
Loading…
x
Reference in New Issue
Block a user