|
1 |
| -# Using the Dashboard |
| 1 | +# Managing application lifecycle with Kubeapps |
2 | 2 |
|
3 |
| -Once you have [installed Kubeapps in your cluster](https://github.com/vmware-tanzu/kubeapps/tree/main/chart/kubeapps) you can use the Dashboard to start managing and deploying applications in your cluster. Checkout the [Getting Started](../tutorials/getting-started.md) guide to learn how to access the Dashboard and deploy your first application. |
| 3 | +## Table of Contents |
4 | 4 |
|
5 |
| -The following sections walk you through some common tasks with the Kubeapps Dashboard. |
| 5 | +1. [Introduction](#introduction) |
| 6 | +2. [Pre-requisites](#pre-requisites) |
| 7 | +3. [Browse applications in the configured repositories](#browse-applications-in-the-configured-repositories) |
| 8 | +4. [Application details](#application-details) |
| 9 | +5. [Deploy an application](#deploy-an-application) |
| 10 | +6. [Update an application](#update-an-application) |
| 11 | +7. [Delete an application](#delete-an-application) |
| 12 | +8. [Browse applications installed in the cluster](#browse-applications-installed-in-the-cluster) |
6 | 13 |
|
7 |
| -## Work with Charts |
| 14 | +## Introduction |
8 | 15 |
|
9 |
| -### Deploy new applications using the Dashboard |
| 16 | +[Kubeapps](https://kubeapps.dev/) provides a cloud native solution to browse, deploy and manage the lifecycle of applications on a Kubernetes cluster. It is a one-time install that gives you a number of important benefits, including the ability to: |
10 | 17 |
|
11 |
| -- Start with the Dashboard welcome page: |
| 18 | +- browse and deploy packaged applications from public or private repositories |
| 19 | +- customize deployments through an intuitive user interface |
| 20 | +- upgrade, manage and delete the applications that are deployed in your Kubernetes cluster |
| 21 | +- expose an API to manage your package repositories and your applications |
12 | 22 |
|
13 |
| -  |
| 23 | +This guide explains in detail how to **manage the lifecycle** of your applications in Kubernetes with Kubeapps. |
14 | 24 |
|
15 |
| -- Use the "Catalog" menu to select an application from the list of applications available. This example assumes you want to deploy MariaDB. |
| 25 | +## Pre-requisites |
16 | 26 |
|
17 |
| -  |
| 27 | +- Kubeapps up and running (see [Get Started with Kubeapps](../tutorials/getting-started.md)) |
| 28 | +- A Package Repository configured in Kubeapps (see [Managing Package Repositories with Kubeapps](../tutorials/managing-package-repositories.md)) |
18 | 29 |
|
19 |
| -- Click the "Deploy" button. You will be prompted for the release name, cluster namespace and values for your application deployment. |
| 30 | +## Browse applications in the configured repositories |
20 | 31 |
|
21 |
| -  |
| 32 | +To explore the list of applications available in the existing repositories configured in Kubeapps: |
22 | 33 |
|
23 |
| -- 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. |
| 34 | +1. Click **Catalog** in the main menu. |
| 35 | +2. Kubeapps displays in the center of the page a list with the applications available in the configured repositories. |
24 | 36 |
|
25 |
| -  |
| 37 | + |
26 | 38 |
|
27 |
| -### List all the applications running in your cluster |
| 39 | +**Search** and **filtering options** are available to improve the experience to explore and find applications. |
28 | 40 |
|
29 |
| -The "Applications" page displays a list of the application deployments in your cluster. |
| 41 | +## Application details |
30 | 42 |
|
31 |
| - |
| 43 | +Kubeapps provides a complete overview of applications, metadata and parameters to have all necessary information before deploying into your cluster. |
32 | 44 |
|
33 |
| -### Remove existing application deployments |
| 45 | +- Click on any app from the **Catalog view**, for example, **Wordpress**. |
| 46 | +- Kubeapps navigates to the detail page including: |
34 | 47 |
|
35 |
| -You can remove any of the applications from your cluster by clicking the "Delete" button on the application's status page: |
| 48 | + - **Application data** (on the left side): name, package format, app version, package version, categories, home URL, maintainers, related URLs |
| 49 | + - **README.md**: Kubeapps render the information available in the package README.md file (including all configuration parameters to install the package). |
36 | 50 |
|
37 |
| - |
| 51 | + |
| 52 | + |
38 | 53 |
|
39 |
| -### Add more chart repositories |
| 54 | +From the top-right corner, you can select the **package version** to deploy the application into your cluster. |
40 | 55 |
|
41 |
| -By default, Kubeapps comes with the Bitnami repository enabled. You can see the list of enabled chart repositories in the "Package Repositories" page under the menu: |
| 56 | +## Deploy an application |
42 | 57 |
|
43 |
| - |
| 58 | +Click the **Deploy** button from the detail page. Kubeapps displays a new view for the deployment, including: |
44 | 59 |
|
45 |
| -Add new repositories (for example, your organization's chart repository) by clicking the "Add Package Repository" button. Fill the "Add Repository" form using the repository info. For a detailed guide of how to add package repositories, check [this guide](./private-app-repository.md). |
| 60 | +- `Application data`: same information displayed previously in the detail view. |
| 61 | +- `Name`: a descriptive name for the application. |
| 62 | +- `Deployment values`: set application values for deployment. Kubeapps provides two alternatives to edit parameters: |
| 63 | + - **Visual editor**: table view component to search, paginate and update values for the different parameters. |
| 64 | + - **YAML editor**: to directly edit the YAML file (including the capability to enable a diff view to show changes from default). |
46 | 65 |
|
47 |
| - |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | +Set values for configuration parameters and click the **Deploy** button to launch the deployment. |
| 71 | + |
| 72 | +> There is another button to help you restore parameters to the default values in the package. |
| 73 | +
|
| 74 | +You can track the deployment directly from Kubeapps. The "Notes" section on the deployment page contains important information to help you use the application. |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | +## Update an application |
| 81 | + |
| 82 | +Kubeapps provides an easy way to identify applications with an updated version available in the repository. |
| 83 | + |
| 84 | +- In the list of applications installed in your cluster, with an **arrow**: |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | +- In the detail view with an **info message** on the left side: |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | +Once you have selected the application to update, click either the **Update** button or the **Update Now** link in the message. Kubeapps displays the deployment view. |
| 93 | + |
| 94 | +For the update case, the Visual Editor table displays the following columns: |
| 95 | + |
| 96 | +- `Defalut value`: including the default value for each parameter in the package. |
| 97 | +- `Deployed value`: including the value deployed in the cluster for each parameter. |
| 98 | +- `Current value`: to set the value for each parameter in the upgrade process. |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | +The YAML Editor includes options to enable a diff to compare: |
| 103 | + |
| 104 | +- `Package values`: comparing new values in the YAML file with default values in the package. |
| 105 | +- `Deployed values`: comparing new values in the YAML file with deployed values in the cluster. |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | +### Delete an application |
| 110 | + |
| 111 | +You can remove any of the applications from your cluster by clicking the **Delete** button on the application's status page: |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | +## Browse applications installed in the cluster |
| 116 | + |
| 117 | +To explore the list of applications installed in the cluster directly from Kubeapps: |
| 118 | + |
| 119 | +1. Click **Application** in the main menu. |
| 120 | +2. Kubeapps displays in the center of the page a list with the applications installed in the selected context (cluster / namespace): |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | +Kubeapps also provides the ability for listing applications in all namespaces for the selected cluster. Activate the toggle option **Show apps in all namespaces**: |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | +> **NOTE**: An additional benefit for Kubeapps is that it reflects the status of applications in the cluster (even if not managed directly by using Kubeapps). So any change performed by using the Helm, Flux or Carvel directly from the CLI, is visible from Kubeapps when listing the installed applications in the cluster. |
0 commit comments