Deploy latest Kubernetes using CFCR

Oleksandr Slynko
1 min readAug 6, 2019

Every three months a new Kubernetes major version is released. It is hard to keep up with the latest all the time. It is very hard to keep up, you need to deploy the newest version in advance to see if it breaks something.

There is an easy way to deploy the latest version if you use Cloud Foundry Container Runtime (CFCR). Officially, CFCR usually is two months behind the latest major version, but it is very easy to try the next version on your test environment.

  1. Clone kubo-release repository
  2. Run update_binaries command with desired Kubernetes version. Ie. ./scripts/download_k8s_binaries 1.16.0-alpha.2
  3. Create a new release bosh create-release --force . You need to specify force flag since you change the blobs
  4. Upload the release to your Bosh director. You can create the Bosh director using bosh-bootloader. There are guides about deploying CFCR.
  5. Deploy CFCR with the dev operation file.
  6. (Optionally) run apply-addons errand to deploy metrics, DNS and dashboard.
  7. (Optionally) run smoke-tests to check if the cluster is operational.

--

--

Oleksandr Slynko

Reading code for a long time, writing code for even longer.