体验Kubernetes 1.19.3,部署Dashboard+Prometheus+Grafana+Alertmanager (3)

创建Prometheus ingress
cat prometheus-ingress.yaml

apiVersion: extensions/v1beta1 kind: Ingress metadata: name: prometheus-k8s namespace: default annotations: kubernetes.io/ingress.class: "nginx" spec: rules: - host: prometheus-monitor.com http: paths: - path: backend: serviceName: prometheus-k8s servicePort: 9090

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zzwggs.html