Run in OpenShift - MaastrichtU-IDS/data2services-pipeline GitHub Wiki
Install
wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
tar xvf openshift-origin-client-tools*.tar.gz
cd openshift-origin-client*/
sudo mv oc kubectl /usr/local/bin/
Login
Login to the cluster using the OpenShift client
oc login https://openshift_cluster:8443 --token=MY_TOKEN
Get the command with the token from the Copy Login Command
button in the user details at the top right of the OpenShift webpage.
Run
Additional notes
Allow use of Insecure Docker registry.
cat << EOF | sudo tee /etc/docker/daemon.json
{
"insecure-registries" : [ "172.30.0.0/16" ]
}
EOF