apiVersion: networking.k8s.io/v1 kind: Ingress annotations: metadata: name: influxdb spec: #ingressClassName: nginx # change this to your Ingressclass you have created in your cluster rules: - host: influx.local http: paths: - backend: service: name: influx-service port: number: 8086 path: / pathType: Prefix