build kubernetes binaries

If you due to some reason want to get and test latest and bleeding edge kubernetes binaries, one of ways to do that is described below

# yum install -y golang glibc-static device-mapper-devel btrfs-progs btrfs-progs-devel sqlite-devel docker

  1. systemctl start docker
  2. systemctl enable docker
  3. git clone https://github.com/GoogleCloudPlatform/kubernetes
  4. cd kubernetes/build/

#./release.sh

this process will take some time as it is going to download necessary golang images necessary for build – image download will be run only once, every next build will (re)use these already downloaded images ( or it will get only “delta” changes between image already present on system and its update)

Once build is finished, binaries will be in ~/kubernetes/_output/dockerized/bin/linux/amd64
Small script doing this is build-kubernetes.sh

Advertisements

#rhel-docker-kubernetes