apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: grafana-ingress namespace: monitoring annotations: 'nginx.ingress.kubernetes.io/rewrite-target': / spec: rules:

  • host: grafana.example.com http: paths:
    • path: /grafana pathType: Prefix backend: service: name: grafana port: name: http tls:
  • hosts:
    • grafana.example.com secretName: tls-secret-name
Kubernetes Ingress 配置 - Grafana 访问

原文地址: https://www.cveoy.top/t/topic/khF7 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录