Guys, when i configure the Ingress on K8s, the fro...
# troubleshoot
b
Guys, when i configure the Ingress on K8s, the frontend turn to this gray page instead of the another one. Then i log in, it redirects to a blank page. Can you help me with this?
1
i
Hello Rafael, can you share your configs for the ingress resource and the values.yaml section relevant to the frontend pod?
b
@incalculable-ocean-74010 sure! <> values were obfuscated.
Copy code
datahub-frontend:
  enabled: true
  image:
    repository: linkedin/datahub-frontend-react
    tag: "latest"
  extraVolumes:
      - name: user-props
        secret:
          secretName: datahub-frontend-pass
  extraVolumeMounts:
      - mountPath: /datahub-frontend/conf/user.props
        name: user-props
        subPath: password
        readOnly: true
  service:
    type: "NodePort"
  ingress:
    enabled: true
    annotations:
      <http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: alb
      <http://alb.ingress.kubernetes.io/scheme|alb.ingress.kubernetes.io/scheme>: internet-facing
      <http://alb.ingress.kubernetes.io/target-type|alb.ingress.kubernetes.io/target-type>: instance
      <http://alb.ingress.kubernetes.io/certificate-arn|alb.ingress.kubernetes.io/certificate-arn>: <certificate-arn>
      <http://alb.ingress.kubernetes.io/inbound-cidrs|alb.ingress.kubernetes.io/inbound-cidrs>: 0.0.0.0/0
      <http://alb.ingress.kubernetes.io/listen-ports|alb.ingress.kubernetes.io/listen-ports>: '[{"HTTP": 80}, {"HTTPS":443}]'
      <http://alb.ingress.kubernetes.io/actions.ssl-redirect|alb.ingress.kubernetes.io/actions.ssl-redirect>: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
    hosts:
      - host: <hostname>
        redirectPaths:
          - path: /*
            name: ssl-redirect
            port: use-annotation
        paths:
          - /*