apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: "2048-ingress"
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
  labels:
    app: 2048-ingress
spec:
  rules:
  - http:
      paths:
      - pathType: Prefix
        path: "/*"
        backend:
          service:
            name: "service-2048"
            port:
              number: 80
