Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with Kubernetes Dashboard #114

Open
Rahulsharma0810 opened this issue Nov 21, 2024 · 0 comments
Open

Working with Kubernetes Dashboard #114

Rahulsharma0810 opened this issue Nov 21, 2024 · 0 comments

Comments

@Rahulsharma0810
Copy link

Rahulsharma0810 commented Nov 21, 2024

Has anyone tried this with New Kubernetes Dashboard 7.0, Kong Service ?

i am getting below error, with or without http/https

Untitled
# HomeLab-Kubernetes/manifests/infrastructure/dashboard/tunnel-binding-ingress.yaml
apiVersion: networking.cfargotunnel.com/v1alpha1
kind: TunnelBinding
metadata:
  name: kubedash-tunnel-binding
  namespace: kubernetes-dashboard
subjects:
- name: kubernetes-dashboard-kubernetes-dashboard-kong-proxy
  spec:
    fqdn: dashboard.domain.com
    protocol: http
    noTlsVerify: true
tunnelRef:
  kind: ClusterTunnel
  name: i1-1806-talos-proxmox-cluster-tunnel

I have also tried opening svc to port 80 (default was 443)

#values.yaml
    kong:
      enabled: true
      proxy:
        http:
          type: ClusterIP
          enabled: true
❯ k get svc kubernetes-dashboard-kubernetes-dashboard-kong-proxy
NAME                                                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)          AGE
kubernetes-dashboard-kubernetes-dashboard-kong-proxy   ClusterIP   10.105.101.83   <none>        80/TCP,443/TCP   164m

Tunnel Binding configuration.

Annotations:  <none>
API Version:  networking.cfargotunnel.com/v1alpha1
Kind:         TunnelBinding
Metadata:
  Creation Timestamp:  2024-11-21T20:32:27Z
  Finalizers:
    cfargotunnel.com/finalizer
  Generation:        8
  Resource Version:  4997784
  UID:               af070c77-73d5-41c8-ba14-fa9163a1cfb9
Status:
  Hostnames:  dashboard.domain.com
  Services:
    Hostname:  dashboard.domain.com
    Target:    http://kubernetes-dashboard-kubernetes-dashboard-kong-proxy.kubernetes-dashboard.svc:80
Subjects:
  Kind:  Service
  Name:  kubernetes-dashboard-kubernetes-dashboard-kong-proxy
  Spec:
    Fqdn:           dashboard.domain.com
    No Tls Verify:  true
    Protocol:       http
    Proxy Address:  127.0.0.1
    Proxy Port:     0
    Proxy Type:

❯ k port-forward svc/kubernetes-dashboard-kubernetes-dashboard-kong-proxy 8080:80 -n kubernetes-dashboard

Work Just Fine without Cloudflare tunnel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant