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 service app-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 service app-b was created.
  • Now edit the route to split traffic between services app-a and app-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/.


关于作者

UI_Icon-Red_Hat-Close-A-Black-RGB

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Virtualization icon

虚拟化

适用于您的本地或跨云工作负载的企业虚拟化的未来