OpenShift A/B Deployment

Kopei article

OpenShift的AB部署

AB test原理就不讲了。直接上代码

1
2
3
4
5
oc new-project cotd --display-name='A/B Deployment Example'  --description='A/B Deployment Example'
oc new-app --name='cats' -l name='cats' php:5.6~https://github.com/devops-with-openshift/cotd.git -e SELECTOR=cats
oc expose service cats --name=cats -l name='cats'
oc new-app --name='city' -l name='city' php:5.6~https://github.com/devops-with-openshift/cotd.git -e SELECTOR=cities
oc expose srv/city --name=city -l name='city'
  • Post title:OpenShift A/B Deployment
  • Post author:Kopei
  • Create time:2018-01-09 00:00:00
  • Post link:https://kopei.github.io/2018/01/08/openshift-2018-01-09-openshift-AB-deploy/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments
On this page
OpenShift A/B Deployment