Skip to content

Latest commit

 

History

History
89 lines (47 loc) · 3.8 KB

File metadata and controls

89 lines (47 loc) · 3.8 KB

Kubeapps Dashboard

Kubeapps comes with an in-cluster dashboard that offers a web UI to easily manage the deployments created by Helm in your cluster and to manage your Kubeless functions.

Start the Dashboard

Securely access the Kubeapps Dashboard from your system by running:

kubeapps dashboard

This will start an HTTP proxy for secure access to the Kubeapps Dashboard and will launch your default browser to access it. Here's what you should see:

Dashboard main page

The following sections walk you through some common tasks with the Kubeapps Dashboard.

Work with Charts

Deploy new applications using the Dashboard

Once you have the Kubeapps Dashboard up and running, you can start deploying applications into your cluster.

  • Start with the Dashboard welcome page:

    Dashboard main page

  • Use the "Charts" menu to select an application from the list of charts in the official Kubernetes chart repository. This example assumes you want to deploy MariaDB.

    MariaDB chart

  • Click the "Deploy using Helm" button. You will be prompted for the release name, cluster namespace and values for your application deployment.

    MariaDB installation

  • Click the "Submit" button. The application will be deployed. You will be able to track the new Kubernetes deployment directly from the browser. The "Notes" section of the deployment page contains important information to help you use the application.

    MariaDB deployment

List all the applications running in your cluster

The "Applications" page displays a list of the application deployments in your cluster that are managed by Helm.

Deployment list

Remove existing application deployments

You can remove any of the applications from your cluster by clicking the "Delete" button on the application's status page:

Deployment removal

Add more chart repositories

By default, Kubeapps comes with the official Kubernetes chart repositories enabled. You can see the list of enabled chart repositories in the "App Repositories" page under the "Configuration" menu:

Repositories List

Add new repositories (for example, your organization's chart repository) by clicking the "Add App Repository" button. Fill the "Add Repository" form using the guidelines below:

  • Name: Use any unique identifier.
  • URL: Add the URL of your chart repository (the same URL used with helm repo add)

Adding repository

Work with Functions

The Kubeapps Dashboard includes a Kubeless interface to be able to create, edit and run your Kubeless functions directly from your browser.

Create a new function

To create a new Kubeless function from the Dashboard:

  • Start with the "Functions" menu in the Dashboard.

    Kubeless interface

  • Click the "Create Function" button.

  • In the resulting modal dialog, select the runtime for the function, the name of the function object and the handler for the function:

    Kubeless function creation

  • Click the "Create" button. The Kubeless interface will load a sample function, so you can easily modify it for your needs. Here's a simple "hello world" function example:

    Kubeless Hello World function

  • Clicking "Run Function" will run the function using the selected runtime and will display the response. It may take some time to the function to complete execution.

For more examples of functions using different runtimes, check out the examples in the Kubeless repository.