Restart an Openshift deployment or deployment config

The easiest way to restart is reducing the number of pods to zero and increase again up to the desired pod count:

oc get deployment thingsandcodeDeployment   # Shows the current number of pods

oc scale deployment thingsandcodeDeployment --replicas=0    # Stops the deployment
oc scale deployment thingsandcodeDeployment --replicas=2    # Starts new pods for deployment