I have deployed K8S Dashboard using https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml.
I want to expose it on the Kong Ingress.
This is my Ingress spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dev-dashboard
namespace: kubernetes-dashboard
annotations:
kubernetes.io/ingress.class: "kong"
konghq.com/strip-path: "true"
konghq.com/override: https-only
spec:
rules:
- host: dev.dashboard.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port:
number: 443
I have already made a host entry on the machine where I am trying to access the dashboard.
I get HTTP ERROR 400 when I try to access https://dev.dashboard.com/ on the machine.
What am I doing wrong here?