Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 787 Bytes

5-openshift-files.md

File metadata and controls

19 lines (13 loc) · 787 Bytes

OpenShift files

Download and extract the openshift-install and oc/kubectl binaries into the helper node

curl -sL https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OCPVERSION}/openshift-client-linux-${OCPVERSION}.tar.gz | \
  sudo tar -C /usr/local/bin -xzf - oc kubectl

# Use https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/linux/oc.tar.gz for latest oc
# It doesn't include kubectl, though

curl -sL https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OCPVERSION}/openshift-install-linux-${OCPVERSION}.tar.gz | \
  sudo tar -C /usr/local/bin -xzf - openshift-install

sudo chmod 755 /usr/local/bin/{oc,kubectl,openshift-install}

<< Previous: DNS | README | Next: Cluster files >>