Skip to content

Instantly share code, notes, and snippets.

@sjenning
Last active April 13, 2018 02:13
Show Gist options
  • Save sjenning/04694d950917d5ea510725e027da16fa to your computer and use it in GitHub Desktop.
Save sjenning/04694d950917d5ea510725e027da16fa to your computer and use it in GitHub Desktop.
setenforce 0
vi /etc/selinux/config (change to "permissive")
dnf install wget make gcc git docker bash-completion -y
systemctl enable --now docker
wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.7.4.linux-amd64.tar.gz
vi ~/.bashrc
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin:$GOPATH/src/k8s.io/kubernetes/third_party/etcd
. ~/.bashrc
mkdir -p ~/go/src/k8s.io
cd ~/go/src/k8s.io

(fork upstream kube)
ssh-keygen
cat ~/.ssh/id_rsa.pub
(add key to github fork)

git clone git@github.com:<username>/kubernetes.git
cd kubernetes
git remote add upstream https://github.com/kubernetes/kubernetes.git
git fetch upstream
git branch --set-upstream-to=upstream/master master
git pull
go get -u github.com/jteeuwen/go-bindata/go-bindata
go get -u github.com/cloudflare/cfssl/cmd/...
hack/install-etcd.sh

hack/local-up-cluster.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment