Skip to content

Instantly share code, notes, and snippets.

@jaohaohsuan
Created November 18, 2016 01:50
Show Gist options
  • Select an option

  • Save jaohaohsuan/f5a4400d0013dcf78693ebf4eaef2ea1 to your computer and use it in GitHub Desktop.

Select an option

Save jaohaohsuan/f5a4400d0013dcf78693ebf4eaef2ea1 to your computer and use it in GitHub Desktop.
install kubectl form image
docker run --rm \
-v /opt/bin:/tmp/bin gcr.io/google_containers/hyperkube:v1.4.6 \
/bin/sh -c "cp /hyperkube /tmp/bin" \
&& ln -s /opt/bin/hyperkube /opt/bin/kubectl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment