add ingress for couchdb
This commit is contained in:
21
infrastructures/couchdb/env/k3s-cluster/ingress.yaml
vendored
Normal file
21
infrastructures/couchdb/env/k3s-cluster/ingress.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: couchdb-ingress
|
||||||
|
namespace: couchdb
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: "couchdb.cluster.edward.sydney"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: couchdb
|
||||||
|
port:
|
||||||
|
number: 7777
|
||||||
Reference in New Issue
Block a user