In this video
In this video, Veer Muchandi covers integrated A/B Deployments and how to test application changes in OpenShift Container Platform 3.3.
Notes
Steps to run an A/B test on OpenShift Container Platform 3.3
- Using the OpenShift web console create a new-app with name
app-a
. Go to the advanced options and uncheck the route creation option so that the app does not create a route. We will add the route later. - Add a route by clicking on the
Create Route
option next to serviceapp-a
. Give a common name for the route as it will frontend multiple versions of the application (e.g. appab-abdemo.apps.testv3.osecloud.com). - Annotate the route to use roundrobin load balancing method:
oc annotate route/appab haproxy.router.openshift.io/balance=roundrobin
- Test your app and check the results.
- Edit the code to make some changes.
- Using the web console add a new-app with name
app-b
without a route. Verify that serviceapp-b
was created. - Now edit the route to split traffic between services
app-a
andapp-b
. You can change the percentages and test. - Test using curl from your workstation - for example:
for i in {1..20}; do curl http://appab-abdemo.apps.testv3.osecloud.com/; echo ""; done
The Author
You can find Veer's other posts here, which include many other demos and walkthroughs for OpenShift Origin and OpenShift Container Platform.
On Twitter: @VeerMuchandi
Other Videos
View the Entire OpenShift 3 Demo Playlist
For the latest information on OpenShift 3, please visit https://www.openshift.com/.
About the author
Browse by channel
Automation
The latest on IT automation that spans tech, teams, and environments
Artificial intelligence
Explore the platforms and partners building a faster path for AI
Open hybrid cloud
Explore how we build a more flexible future with hybrid cloud
Security
Explore how we reduce risks across environments and technologies
Edge computing
Updates on the solutions that simplify infrastructure at the edge
Infrastructure
Stay up to date on the world’s leading enterprise Linux platform
Applications
The latest on our solutions to the toughest application challenges
Original shows
Entertaining stories from the makers and leaders in enterprise tech
Products
- Red Hat Enterprise Linux
- Red Hat OpenShift
- Red Hat Ansible Automation Platform
- Cloud services
- See all products
Tools
- Training and certification
- My account
- Developer resources
- Customer support
- Red Hat value calculator
- Red Hat Ecosystem Catalog
- Find a partner
Try, buy, & sell
Communicate
About Red Hat
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
Select a language
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit