apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: prometheus-k8s namespace: monitoring spec: rules: - host: prometheus.192.168.1.15.nip.io http: paths: - backend: service: name: prometheus-k8s port: name: web path: / pathType: Prefix tls: - hosts: - prometheus.192.168.1.15.nip.io