Forum
No internet connection
  1. Home
  2. WISE-PaaS Core
  3. WISE-IoTSuite/Dashboard

FAQ: How to Restart Dashboard App[WISE-PaaS/EnSaaS K8s Service]

By Stanley Yeh @adv.stanley
    2020-06-18 09:42:54.566Z2020-08-24 03:22:42.223Z

    When the users imported a new plugin in the Dashboard app, they will be prompt to restart the app for the change to take effect.
    Here I will describe how to restart the Dashboard app at the time of writing this little tip!

    1. Locate your Dashboard deployment with kubectl.

    If no namespace is set with the current-context, be sure to add "-n {namespace name}" at the end of the kubectl command, i.e.
    $kubectl get deploy -n mynamespace:

    Dashboard app's deployment name should be "dashboard" once you have found where the Dashboard is deployed, we can restart it in the next step.

    2. Use this command to restart Dashboard:

    $kubectl rollout restart deployment/{mydashboard} -n {myspace}, where {mydashboard} should be replaced with the deployment name of your Dashboard app, and {myspace} should be replaced with your namespace containing the Dashboard, i.e.:

    3. Use this command to check the ready status of the Dashboard app.

    $kubectl get deploy -n {namespace name}

    • 0 replies
    1. Progress
      with doing this idea
    2. @wisepaas.training marked this topic as Done 2020-08-24 06:36:51.339Z.
    3. @wisepaas.training marked this topic as Started 2020-08-24 06:36:53.832Z.
    4. @wisepaas.training marked this topic as Planned 2020-08-24 06:36:55.424Z.
    5. @wisepaas.training marked this topic as Done 2020-08-24 06:36:57.575Z.
    6. @wisepaas.training marked this topic as New 2020-08-24 06:37:02.499Z.
    7. @wisepaas.training marked this topic as Done 2020-08-24 06:37:12.264Z.
    8. @wisepaas.training marked this topic as New 2020-08-24 06:37:31.718Z.
    9. @wisepaas.trainingpinned this topic 2021-04-28 07:13:46.665Z.