influxdb+5
This commit is contained in:
parent
52a5f64b83
commit
e2323e57f3
27
influxdb/influxdb-ingress.yaml
Normal file
27
influxdb/influxdb-ingress.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: influxdb-ingress
|
||||
namespace: influxdb
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||
# 添加 SSL 终止支持的注释,如果需要 TLS/SSL 支持
|
||||
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: influxdb.k8s.xunlang.home
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: influxdb
|
||||
port:
|
||||
number: 8086
|
||||
# 如果你希望启用 TLS/SSL,需要额外的配置
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - influxdb.k8s.xunlang.home
|
||||
# secretName: influxdb-tls-secret # 这是用于TLS的secret
|
||||
Loading…
x
Reference in New Issue
Block a user