Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Mastering deployments with Kubernetes & OpenShift Article

May 3, 2017
Brian Atkisson
Related topics:
Developer ToolsKubernetes
Related products:
Red Hat OpenShift Container Platform

Share:

    Rafael Benevides, Director of Developer Experience, at Red Hat spoke on rapidly deploying software on OpenShift with zero downtime.

    Throwing software over to an operations team to deploy during a scheduled maintenance window is a thing of the past.  Businesses simply can no longer afford scheduled downtime.  Applications need to be developed such that small, frequent updates can be released continuously via containers.  Rafael shows us how to solve this problem with OpenShift.

     

    Blue/Green Deployments

    This is a released strategy where there are two or more release channels in which new software can be pushed to one channel.  Traffic is then safely migrated to the new channel, in a transaction-safe manner, at the proxy layer to the new code.  This gives you a safe failback mechanism while allowing frequent updates without affecting service to customers.  In the case of OpenShift, this means new containers are released to one of the two sides while preserving the older version as long as necessary.

    In the OpenShift UI, it is just a matter of changing the route in the blue/green deployment.

    Rolling Updates

    Rolling updates are the default deployment method used by OpenShift.  This means that when a new container is pushed, OpenShift replaces the existing containers in a controlled way with the new software, as long as health checks are passed.  In non-container environments, rolling updates simply pull one node from the load balancer, update it, and place it back into service.  OpenShift essentially performs the same events, but on the container-level.

    Canary Deployments

    The canary term comes from the mining industry in which a canary bird was taken down into the mine, essentially detecting harmful conditions.  The software industry takes a more humane approach to canary deployments.  This essentially means the new software is released to a subset of users first for a period of time. OpenShift supports this method using a weighting methodology, all from within the OpenShift UI.  Once the canary traffic has been validated, all remaining containers are replaced.

    CI/CD Pipelines

    Deployment strategies can then be combined with CI/CD pipelines, ensuring continuous integration and continuous delivery. New software is then constantly tested and deployed. Features and bug fixes can be pushed to production as they are ready rather than as release windows are available.  This dramatically increases the value of development work to an organization. After all, features sitting in some dev branch provide no value to an organization.

    In order to realize CI/CD, OpenShift provides a Jenkinsfile template for defining the automated tests and environment pipeline.  There is a large library of canned includes for the Jenkinsfile, making it super easy to just plug in the CI/CD functionality you need without the pain of developing it yourself.

    As you can see, OpenShift gives you the tools you need in order to safely and continuously release software, breaking the mold of the traditional release window.


    Download and try Red Hat OpenShift Container Platform for free.

    Last updated: October 31, 2023

    Recent Posts

    • What qualifies for Red Hat Developer Subscription for Teams?

    • How to run OpenAI's gpt-oss models locally with RamaLama

    • Using DNS over TLS in OpenShift to secure communications

    • Scaling DeepSeek and Sparse MoE models in vLLM with llm-d

    • Multicluster authentication with Ansible Automation Platform

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue