|
1 | 1 | # Applications
|
2 | 2 |
|
3 |
| -Please configure Global Configurations before creating an application or cloning an existing application. |
| 3 | +{% hint style="warning" %} |
| 4 | +Configure [Global Configurations](./global-configurations/README.md) first before creating an application or cloning an existing application. |
| 5 | +{% endhint %} |
| 6 | + |
| 7 | +## Introduction |
| 8 | + |
| 9 | +The **Applications** page helps you create and manage your microservices, and it majorly consists of the following: |
| 10 | + |
| 11 | +* [Application Listing](#application-listing) |
| 12 | +* [Create Button](#create-button) |
| 13 | +* [Other Options](#other-options) |
| 14 | + |
| 15 | +### Application Listing |
| 16 | + |
| 17 | +You can view the app name, its status, environment, namespace, and many more upfront. The apps are segregated into: [Devtron Apps](../reference/glossary.md#devtron-apps), [Helm Apps](../reference/glossary.md#helm-apps), [ArgoCD Apps](../reference/glossary.md#argocd-apps), and [FluxCD Apps](../reference/glossary.md#fluxcd-apps). |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +### Create Button |
| 22 | + |
| 23 | +You can use this to: |
| 24 | +* [Create a Devtron app](./create-application.md) |
| 25 | +* [Create a Helm app](./deploy-chart/deployment-of-charts.md) |
| 26 | +* [Create a Job](./jobs/create-job.md) |
| 27 | + |
| 28 | +### Other Options |
| 29 | + |
| 30 | +There are additional options available for you: |
| 31 | +* **Search and filters** to make it easier for you to find applications. |
| 32 | +* **Export CSV** to download the data of Devtron apps (not supported for Helm apps and Argo CD apps). |
| 33 | +* **Sync button** to refresh the app listing. |
| 34 | + |
| 35 | +--- |
| 36 | + |
| 37 | +## View ArgoCD App Listing |
| 38 | + |
| 39 | +{% hint style="warning" %} |
| 40 | +### Who Can Perform This Action? |
| 41 | +Users need super-admin permission to view/enable/disable the ArgoCD listing. |
| 42 | +{% endhint %} |
| 43 | + |
| 44 | +### Preface |
| 45 | + |
| 46 | +In Argo CD, a user manages one dashboard for one ArgoCD instance. Therefore, with multiple ArgoCD instances, the process becomes cumbersome for the user to manage several dashboards. |
| 47 | + |
| 48 | +With Devtron, you get an entire Argo CD app listing in one place. This listing includes: |
| 49 | +* Apps deployed using [GitOps](../reference/glossary.md#gitops) on Devtron |
| 50 | +* Other Argo CD apps present in your cluster |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +### Advantages |
| 55 | + |
| 56 | +Devtron also bridges the gap for ArgoCD users by providing additional features as follows: |
| 57 | + |
| 58 | +* **Resource Scanning**: You can scan for vulnerabilities using Devtron's [resource scanning](../user-guide/security-features.md#from-app-details) feature. [](https://devtron.ai/pricing) |
| 59 | + |
| 60 | +* **Single-pane View**: All Argo CD apps will show details such as their app status, environment, cluster, and namespace together in one dashboard. |
| 61 | + |
| 62 | +* **Feature-rich Options**: Clicking an Argo CD app will give you access to its logs, terminal, events, manifest, available resource kinds, pod restart log, and many more. |
| 63 | + |
| 64 | +{% hint style="info" %} |
| 65 | +### Additional References |
| 66 | +[ArgoCD: Standalone Configuration vs Devtron Configuration](https://devtron.ai/blog/argocd-standalone-configuration-vs-devtron-configuration/#argocd-installation-and-configuration) |
| 67 | +{% endhint %} |
| 68 | + |
| 69 | +### Prerequisite |
| 70 | +The cluster in which Argo CD apps exist should be added in **Global Configurations** → **Clusters and Environments** |
| 71 | + |
| 72 | +### Feature Flag |
| 73 | + |
| 74 | +> **`ENABLE_EXTERNAL_ARGO_CD: "true"`** |
| 75 | +
|
| 76 | +### Enabling ArgoCD App Listing |
| 77 | + |
| 78 | +{% embed url="https://www.youtube.com/watch?v=4KyYnsAEpqo" caption="Enabling External ArgoCD Listing" %} |
| 79 | + |
| 80 | +1. Go to the **Resource Browser** of Devtron. |
| 81 | + |
| 82 | +2. Select the cluster (in which your Argo CD app exists). |
| 83 | + |
| 84 | +3. Type `ConfigMap` in the 'Jump to Kind' field. |
| 85 | + |
| 86 | +4. Search for `dashboard-cm` using the available search bar and click it. |
| 87 | + |
| 88 | +5. Click **Edit Live Manifest**. |
| 89 | + |
| 90 | +6. Set the feature flag **ENABLE_EXTERNAL_ARGO_CD** to **"true"** |
| 91 | + |
| 92 | +7. Click **Apply Changes**. |
| 93 | + |
| 94 | +8. Go back to the 'Jump to Kind' field and type `Pod`. |
| 95 | + |
| 96 | +9. Search for `dashboard` pod and use the kebab menu (3 vertical dots) to delete the pod. |
| 97 | + |
| 98 | +10. Go to **Applications** and refresh the page. A new tab named **ArgoCD Apps** will be visible. |
| 99 | + |
| 100 | +11. Select the cluster(s) from the dropdown to view the Argo CD apps available in the chosen cluster(s). |
| 101 | + |
| 102 | +  |
| 103 | + |
| 104 | +--- |
| 105 | + |
| 106 | +## View FluxCD App Listing |
| 107 | + |
| 108 | +{% hint style="warning" %} |
| 109 | +### Who Can Perform This Action? |
| 110 | +Users need super-admin permission to view/enable/disable the FluxCD listing. |
| 111 | +{% endhint %} |
| 112 | + |
| 113 | +### Preface |
| 114 | + |
| 115 | +Flux CD doesn't have any official dashboard; however, Devtron supports the listing of your [Flux CD](https://fluxcd.io/) apps in one dashboard. Here, the [advantages](#advantages) are same as those of [ArgoCD app listing](#view-argocd-app-listing). |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | +### Prerequisite |
| 120 | +The cluster in which Flux CD apps exist should be added in **Global Configurations** → **Clusters and Environments** |
| 121 | + |
| 122 | +### Feature Flag |
| 123 | + |
| 124 | +> **`FEATURE_EXTERNAL_FLUX_CD_ENABLE: "true"`** |
| 125 | +
|
| 126 | +### Enabling FluxCD App Listing |
| 127 | + |
| 128 | +{% hint style="info" %} |
| 129 | +### Tip |
| 130 | +You may refer the steps mentioned in the [Enabling ArgoCD App Listing](#enabling-argocd-app-listing) section since the procedure is similar. |
| 131 | +{% endhint %} |
| 132 | + |
| 133 | +Using Devtron's Resource Browser, add the [feature flag](#feature-flag-1) in the Dashboard ConfigMap as shown below. |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | +After successfully executing all the steps, a new tab named **FluxCD Apps** will be visible. Select the cluster(s) from the dropdown to view the Flux CD apps available in the chosen cluster(s). |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | +(Optional) Once you choose cluster(s), you may use the **Template Type** dropdown to further filter your Flux CD app listing based on its type, i.e., [Kustomization](https://fluxcd.io/flux/components/kustomize/kustomizations/) or [Helmrelease](https://fluxcd.io/flux/components/helm/helmreleases/). |
| 142 | + |
| 143 | +Click any Flux CD app to view its details as shown below. |
| 144 | + |
| 145 | + |
0 commit comments