kubernetes-dashboard-kong not starting

  • Hi,

    I have had a problem with the kubernetes-dashboard-kong pod going into a CrashLoopBackOff status with the log output as follows:



    This appears to be because the port that is being used for KONG_ADMIN_LISTEN in the default deployment is 8444 which is already in use as per this issue https://github.com/kubernetes/dashboard/issues/8765


    I manually worked around this by updating my deployment to use port 8445 and using kubectl apply to push the update through. I couldn't work out how to run the helm command mentioned in the issue above.


    Is it possible to update the kubernetes plugin to apply the fix noted in the issue above?

    Or update the deployment to change the port away from 8444?


    Thanks.

  • crashtest

    Approved the thread.
  • I ended up updating my kubernetes-dashboard-kong deployment and turning the kong admin off as shown below, as changing the port failed on the next reboot.

  • No, my settings in the Kubernetes setting tab are:

    Enabled - Yes

    Datastore - SQLite

    Snapshots - a folder that is only used for snapshots

    Certificate - Yes, generated with openssl

    Load Balancer

    http - 8080

    https - 8443

    Dashboard

    port - 4443


    I have setup a script that runs on reboot (all within OMV using the Scripts plugin) as follows, as the kubernetes-dashboard-kong deployment never works after reboot. But if I scale it down and back up, it then works. I have no idea what the underlying cause is though.


    Bash
    #!/bin/bash
    sleep 600
    if journalctl --since "65 seconds ago" SYSLOG_IDENTIFIER=k3s -g "restarting failed container=proxy pod=kubernetes-dashboard-kong" | grep k3s; then
        kubectl scale -n kubernetes-dashboard deployment kubernetes-dashboard-kong --replicas=0
        sleep 15
        kubectl scale -n kubernetes-dashboard deployment kubernetes-dashboard-kong --replicas=1
    fi
  • votdev

    Added the Label resolved
  • votdev

    Removed the Label resolved
  • votdev

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!