Skip to main content
Version: Release 23.1

View the Live Status of Deployed Applications

Note: Live Status of Deployed Applications is a feature in Tech Preview—released in Digital.ai Release 22.3—enabled by default. You must disable this feature (using the feature flag) if you do not want to use it. With Digital.ai Release 22.3, you can view the live status of the applications deployed in Digital.ai Deploy and Argo CD. A new dashboard is provided, which displays the live status of the applications.

Prerequisites

You have a running instance(s) of:

  • Digital.ai Deploy or/and
  • Argo CD server
  • Digital.ai Release with enabled Show live status feature flag

Default setting of Applications Dashboard

With Digital.ai Release 22.3, the Applications Dashboard view is visible by default. If you want to disable this feature, see the Enable Applications Dashboard section at the end of this page.

The entire setup is done on the folder level. However, you can select Digital.ai Deploy or Argo CD servers from the global connections configuration.

Select your relevant folder and click Application deployments dashboard in the list on the left-navigation pane. Note that, this is a folder-level setting, and no applications are displayed until Digital.ai Release is connected to some Digital.ai Deploy or Argo CD server servers. Application deployments

Quick Wizard to Discover Applications

To go through a quick setup and connect to the Digital.ai Deploy or Argo Cd servers, use the Discover applications button on the top right side of the screen.

Connect to Newly Created Servers

Follow the below steps to create a connection with your Digital.ai Deploy or Argo CD server:

  1. In the Application deployments screen, click Discover applications on the top-right corner. New Server

    Note: This set up is very helpful when you're connecting to your Argo CD or Deploy server for the first time.

  2. To create a new Argo CD server, click Create server in the Argo CD section. New Server Argocd
  3. Enter the Title and URL.
  4. In the Authentication and Proxy sections, enter the required details.
  5. Click Test to test the connection to your server.
  6. Click Save to save the changes.
  7. Follow the steps 3 to 5 to add a new Deploy server. In Deploy, you can select the authentication method from the Authentication methods drop-down list. For more information, see Connect to Deploy server. New Server Deploy

Connect to Already Existing Servers

Click Discover applications.

Discover applications

You can choose the server from the menu or create a new one by clicking Create source from the Choose server drop-down list. Once the server is selected, click Discover applications to connect to the servers.

Discover applications - Choose server

If there is no configured webhook source for the server, it will be automatically created and configured (the same flow as clicking on Propagate on the advanced setup).

Follow the instructions appearing in modal to check on the created CI on Digital.ai Deploy server or for creating a ConfigMap on K8s in the namespace where your Argo CD server is running.

Note: For Argo CD it is important to follow these instructions because the setup is not done automatically at this point.

Once you choose the server, you can create a filter by choosing the filter records. It is specific to the type of server selected:

  • for the Argo CD Webhook, you can filter applications by the Argo CD project.
  • for the Deploy Webhook, you can filter applications by the folders.

Discover applications - filtering

Click Done to view the deployed applications in the form of a table for configured servers. If there is an error in the setup or connection to the server is lost, a failure message is displayed in the Application deployments label that shows an error when you hover over the label.

Argo CD Discovery: Additional Steps

Once you click Done on Argo CD application filtering, you will view the Patch available dialog. If you wish to receive live updates from Argo CD applications, then the applications must subscribe to Release notification annotations. In the Patch available dialog, you can choose for an automatic or manual update.

Discover applications - patch

Creating New Argo CD Applications

Once you create a new application in your Argo CD instance and you want to receive live updates for the created application, you have to manually apply notification annotations to a created application. Otherwise, you have to go through the wizard filtering steps again to trigger automatic updates.

notifications.argoproj.io/subscribe.on-created.release-webhook: ""
notifications.argoproj.io/subscribe.on-deleted.release-webhook: ""
notifications.argoproj.io/subscribe.on-health-unknown.release-webhook: ""
notifications.argoproj.io/subscribe.on-health-progressing.release-webhook: ""
notifications.argoproj.io/subscribe.on-health-suspended.release-webhook: ""
notifications.argoproj.io/subscribe.on-health-healthy.release-webhook: ""
notifications.argoproj.io/subscribe.on-health-degraded.release-webhook: ""
notifications.argoproj.io/subscribe.on-health-missing.release-webhook: ""
notifications.argoproj.io/subscribe.on-sync-unknown.release-webhook: ""
notifications.argoproj.io/subscribe.on-sync-synced.release-webhook: ""
notifications.argoproj.io/subscribe.on-sync-out-of-sync.release-webhook: ""

View the Live Status of Deployed Applications

After all the above configurations are completed in Digital.ai Release, you can view the live status of the applications deployed in Digital.ai Deploy and Argo CD.

Applications

You can filter applications and sort them by the columns of the table.

If some servers are not configured correctly, the number of disconnected servers will be displayed on the screen. Hovering over the number will display the error messages.

Disconnected servers

Step-by-step: Advanced Setup

If you want to do the step-by-step setup without automatic creation of Webhook and Webhook source for the server, you can follow the below steps:

Set up Connections

Follow the steps to connect Digital.ai Release to Digital.ai Deploy and Argo CD.

  1. Select the relevant folder.
  2. Click Connections > Digital.Ai Deploy Server. The New Digital.ai Deploy Server settings screen opens. Deploy server
  3. Enter the required details to create a connection between Digital.ai Release and Digital.ai Deploy and save the changes.
  4. Repeat steps 1 to 3. However, in step #2, click Connections > ArgoCD: Server. The New ArgoCD Server settings screen opens. Argo CD server
  5. Enter the required details to create a connection between Digital.ai Release and Argo CD and save the changes.

Now, once you save these settings, Digital.ai Release is connected to Digital.ai Deploy and Argo CD.

Configure Endpoints

Follow the steps to add HTTP endpoints for webhooks. It triggers the deployment status from Digital.ai Deploy and Argo CD to Digital.ai Release.

  1. Select the relevant folder.
  2. Click Connections > HTTP Endpoint for Webhooks. The New HTTP Endpoint for Webhooks settings screen opens.
  3. Click POST Endpoint. The settings are visible now. HTTP endpoints
  4. Enter a title and a name for the endpoint path.
  5. Select the Enabled checkbox to enable this event source, and select an authentication method from the drop-down list.
  6. Click Save.

Configure Webhooks

Follow the steps to configure the webhook source for Digital.ai Deploy and Argo CD.

  1. Select the relevant folder.
  2. Click Connections > Digital.Ai Deploy Webhook Source. The New Digital.ai Deploy Webhook Source settings screen opens. Deploy server
  3. Enter the required details to configure the API server URL for Digital.ai Deploy and save the changes.
  4. Repeat steps 1 to 3. However, in step #2, click Connections > ArgoCD Webhook Source. The New ArgoCD Webhook Source settings screen opens. ArgoCD server
  5. Enter the required details to configure the API server URL for Argo CD and save the changes.

Now, once you save these settings, the webhook source is configured for Digital.ai Deploy and Argo CD.

Digital.Ai Deploy Webhook Source

When you configure the Deploy webhook, you can auto-configure the webhook on the Deploy side by clicking on Propagate. After clicking, if the configuration was successful, you will get the following message:

Autoconfiguration of Deploy Webhook

It provides an external link to the webhook created on the Deploy side which can be opened in a new tab.

Argo CD Webhook Source

When you configure the Argo CD webhook, you can generate a config map that needs to be applied to your cluster by clicking on Propagate.

After clicking, a webhook manifest for Argo CD will be generated. Copy it and apply it to the cluster.

Autoconfiguration of Argo Webhook

The Argo CD Notification subscriptions are managed using notifications.argoproj.io/subscription annotation. To subscribe to the Argo CD application events, add the following annotations under the metadata:

notifications.argoproj.io/subscribe.<trigger>.<service>: <recipient>

Administering Applications Sources

  1. To edit or delete created application sources and HTTP endpoints, click the 3-dot menu > Application sources. The Application sources page appears. Open application source page
  2. Here, you can see server name, its webhook, current status (connected/disconnected), and the action buttons to edit or delete the corresponding application source and HTTP endpoint. Application source page

Edit Application Source

Click the edit button to open the edit screen. It opens a screen similar to the Quick wizard.

Here, you can:

  • Filter applications by the Argo CD project for the Argo CD Webhook

  • Filter applications by the folders for the Deploy Webhook

  • Edit webhook endpoint

    Application source page edit source

Delete Application Source

  1. Click the delete button to view the Delete application source dialog box. Application source page delete source
  2. Click Delete source and endpoint to delete the corresponding application source and HTTP endpoint.
  3. Click Cancel to cancel the deletion.

Disable the Applications Dashboard

  1. Log in to Digital.ai Release.
  2. Click Settings > System settings. The System settings screen appears.
  3. In the left-navigation bar, click Feature flags. Show live status
  4. Select the Incubating tab.
  5. In the DevOps enabled deployments overview section, clear the Show live status checkbox. This disables the Application deployments dashboard.
  6. Click Save.