Software and Systems How-To's, Tutorials, Demos, Notes

Blue-Green Deployment in OpenShift

In this post, we will show how to setup Blue-Green deployment quick for demo purposes. oc new-project bg oc new-app https://github.com/corpbob/blue-green-demo.git -l app=blue --name=blue COLOR=blue PORT=8080 oc new-app https://github.com/corpbob/blue-green-demo.git -l app=green --name=green COLOR=green PORT=8080 oc expose svc green [root... Read more

How to Install OpenShift Origin in one node for Development Purposes

Assumptions: CentOS operating System running as a VM in virtual box. Download CentOS from here: http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Everything-1611.iso Create a Host-Only Network in VirtualBox Navigate to VirtualBox->Preferences A dialog box will appear Add a host-only network and set it... Read more

How to Expose the Admin and Query Console

Assumptions You have installed the MarkLogic CI/CD as found in these instructions openshift_marklogic_cicd.md MarkLogic server is up and running. You are using ml-dev namespace Your external ip address is 10.1.2.2 and is bound to interface ensp08 3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qle... Read more

How to build slush-marklogic-node Source-2-Image Docker Image

Clone the s2i repo git clone https://github.com/corpbob/s2i-slush-ml.git Build the image cd s2i-slush-ml docker build --rm=true -t slush-marklogic-node . Check the image has been created [root@openshiftdev s2i-slush-ml]# docker images|grep slush slush-marklogic-node latest f017d723d97f 18 seco... Read more

How to build MarkLogic docker image

Pre-requisites Let $PWD be the present working directory. Create a directory tmp in $PWD. Download MarkLogic rpm from https://developer.marklogic.com/download/binaries/9.0/MarkLogic-9.0-1.1.x86_64.rpm Once downloaded, move the file to $PWD/tmp directory and rename it as MarkLogic9.rpm Building the image Download the Dockerfile fro... Read more