Try Devtron Enterprise!
Start Free Trial
LogoLogo
WebsiteDevtron demoGithub RepoJoin Discord
main
main
  • Introduction
  • Getting Started
  • Install Devtron
    • Install Devtron with CI/CD
    • Install Devtron with CI/CD and GitOps (Argo CD)
    • Install Devtron without Integrations
    • Install Devtron on Minikube, Microk8s, K3s, Kind, Cloud VMs
    • Install Devtron on Airgapped Environment
    • Demo on Popular Cloud Providers
    • Backup for Disaster Recovery
    • Uninstall Devtron
    • FAQs
  • Install Devtron Enterprise Trial
  • Devtron Kubernetes Client
  • Production Infra Recommendations
  • Configurations
    • Installation Configurations
    • Override Configurations
    • Ingress Setup
  • Global Configurations
    • Host URL
    • GitOps
    • Projects
    • Clusters & Environments
    • Git Accounts
    • Container/OCI Registry
    • Chart Repositories
    • Deployment Charts
    • Authorization
      • SSO Login Services
        • Google
        • GitHub
        • GitLab
        • Microsoft
        • LDAP
        • OIDC
          • Keycloak
          • Okta
        • OpenShift
      • User Permissions
      • Permission Groups
      • API Tokens
    • Notifications
    • Deployment Window
    • Approval Policy
    • External Links
    • Catalog Framework
    • Scoped Variables
    • Plugin Policy
    • Pull Image Digest
    • Tags Policy
    • Filter Condition
    • Lock Deployment Configuration
    • Image Promotion Policy
    • Build Infra
  • Devtron Upgrade
    • Update Devtron from Devtron UI
    • Upgrade to 1.5.0
    • 0.6.x-0.7.x
    • 0.5.x-0.6.x
    • 0.4.x-0.5.x
    • 0.4.x-0.4.x
    • 0.3.x-0.4.x
    • 0.3.x-0.3.x
    • 0.2.x-0.3.x
  • Usage
    • Applications
      • Create a New Application
      • Clone an Existing Application
      • Deploy a Sample Application
      • App Configuration
        • Git Repository
        • Build Configuration
        • Base Deployment Template
          • Deployment
          • Rollout Deployment
          • Job and Cronjob
          • StatefulSets
        • GitOps Configuration
        • Workflow Editor
          • CI Pipeline
            • Pre-Build/Post-Build Stages
            • Override Build Configuration
          • CD Pipeline
        • ConfigMaps
        • Secrets
          • External Secret Operator (ESO)
            • AWS Secrets Manager
            • Google Secrets Manager
            • HashiCorp Vault
        • Environment Overrides
        • Deleting Application
      • Build and Deploy
        • Triggering CI
        • Triggering CD
        • Rollback Deployment
        • Applying Labels to Images
      • App Details
        • Debugging Deployment And Monitoring
        • Using Ephemeral Containers
        • Application Metrics
        • Deployment Visibility & Actions
      • Application Overview
    • Jobs
      • Create a new job
      • Configurations
      • Workflow Editor
      • Trigger Job
      • Overview
    • Application Groups
    • Software Distribution Hub
      • Tenants
      • Release Hub
    • Resource Browser
    • Resource Watcher
    • Charts
      • Charts Overview
      • Deploy & Observe
      • Examples
        • Deploying Mysql Helm Chart
        • Deploying MongoDB Helm Chart
      • Chart Group
    • Security
      • Security Scans
      • Security Policies
    • Bulk Edit
    • Integrations
      • Build and Deploy (CI/CD)
      • GitOps (Argo CD)
      • Vulnerability Scanning
        • Clair
        • Trivy
      • Notifications
      • Monitoring (Grafana)
    • Pipeline Plugins
      • Create Your Plugin
      • Our Plugins
        • Ansible Runner
        • Bitbucket Runner Trigger
        • Codacy
        • Code-Scan
        • Copacetic
        • Container Image Exporter
        • Copy Container Image
        • Cosign
        • CraneCopy
        • Dependency track - Maven & Gradle
        • Dependency track - NodeJS
        • Dependency track - Python
        • Devtron CD Trigger
        • Devtron CI Trigger
        • Devtron Job Trigger
        • DockerSlim
        • EKS Create Cluster
        • GCS Create Bucket
        • GitHub Pull Request Updater
        • GKE Provisioner
        • GoLang-migrate
        • Jenkins
        • Jira Issue Validator
        • Jira Issue Updater
        • K6 Load Testing
        • Pull images from container repository
        • Semgrep
        • SonarQube
        • SonarQube v1.1.0
        • Terraform CLI
        • Vulnerability Scanning
  • Resources
    • Glossary
    • Troubleshooting
    • Use Cases
      • Devtron Generic Helm Chart To Run CronJob Or One Time Job
      • Connect SpringBoot with Mysql Database
      • Connect Expressjs With Mongodb Database
      • Connect Django With Mysql Database
      • Pull Helm Charts from OCI Registry
    • Telemetry Overview
    • Devtron on Graviton
    • Release Notes
Powered by GitBook
On this page
  • Visibility & Actions
  • For Canary Deployments
  • For Blue Green deployments
  • Rollback the Deployment

Was this helpful?

Export as PDF
  1. Usage
  2. Applications
  3. App Details

Deployment Visibility & Actions

PreviousApplication MetricsNextApplication Overview

Last updated 2 days ago

Was this helpful?

Prerequisites

The must be set to Rollout in order to use Blue-Green or Canary strategies.

Deployment Visibility and Actions is only available for Canary and Blue-Green Strategies. Refer to the to learn more.

Who Can Perform This Action?

Users need to have Build and Deploy or above (along with access to the environment and application).

Devtron helps you to manage your Canary and Blue-Green deployments by providing visibility and easy controls to manage how new versions (releases) are shared with users.

Devtron allows you to:

  • Quickly view the current deployment status and detailed progress.

  • For canary deployments you can manually trigger the next step for the release or fully complete the rollout.

  • For Blue-Green deployments

    • You can directly route the end user traffic to the application’s new deployment on a particular environment.

    • You can swap the traffic from Blue to Green.

  • Easily rollback deployments (if needed).

Visibility & Actions

For Canary Deployments

After triggering the deployment, navigate to App Details, to get a quick overview of your release rollout status.

You can select the Manage Traffic button to view the rollout status and steps involved in the release.

If you wish you can also trigger the next release steps (for example 25%, 50%, 75%) or you can also trigger the full rollout at once according to your use case.

For Blue Green deployments

Devtron automatically swaps the traffic from the current running release to the new release based on the defined strategy configuration. In case autoPromotionEnabled field value is set to false, you can manually swap the traffic from the current release to the new release.

To do so, follow the steps below:

Swap Traffic

  1. Navigate to App Details of your application.

  2. During Blue-Green deployment, click the Swap Traffic button to shift the traffic to application's new release.

  3. Enter the name of the environment and select Swap Traffic

  4. This will route the end user traffic from the current running release to the new release on a particular environment.

In any scenario, if you want to skip the Blue-Green Strategy and route the end user traffic from the current running release to the new release on a particular environment, you can do that via Skip & Promote Full button during the deployment.

To do so, follow the below steps:

Skip & Promote Full

  1. Navigate to App Details of your application.

  2. During Blue-Green deployment, click the Skip & Promote Full button to shift the traffic to application's new deployment.

  3. Enter the name of the environment and select Promote to Full.

  4. This will skip the Blue-Green Strategy and route the end user traffic from the current running release to the new release on a particular environment.

Rollback the Deployment

In case you have identified some bugs or performance of the release is not as expected then you can also rollback to the previous release.

You can perform a rollback from Build & Deploy Section and from App Details (for Blue-Green & Canary Strategies only)

To perform a rollback from App Details follow the below steps:

  1. Navigate to App details of your Devtron Application.

  2. Based on the type of deployment strategy, perform one of the following actions:

  • In case of Canary deployments, select Rollback under Canary Strategy.

  • In case of Blue Green deployments, select Rollback under Blue Green Strategy.

  1. Select the image to which you want your release to be rolled back and click Deploy to rollback the release.

  2. If you wish, you can select a different deployment strategy other than the default according to the use case.

  3. The application will be rolled back to the previous release (image) using the selected deployment strategy.

Figure 1a: Selecting Manage Traffic
Figure 1b: Managing Canary Traffic
Figure 2: autoPromotionEnabled: false
Figure 3: Selecting Swap Traffic
Figure 4: Swap Traffic Pop Up
Figure 5: Selecting 'Skip & Promote Full'
Figure 6: Promote to Full Pop Up
Figure 7: Selecting Rollback For Canary Deployment
Figure 8: Selecting Rollback For Blue Green Deployment
Figure 9: Selecting the Image
Figure 10: Selecting Deployment Strategy
Deployment Strategies
Deployment Chart Type