# apiVersion: networking.k8s.io/v1beta1 # for k3s < v1.19
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx8080
  annotations:
    ingress.kubernetes.io/ssl-redirect: "false"
spec:
  rules:
  - host: svc8080.tarso.io
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: nginx8080
            port:
              number: 8080