Bootstrap a Kubernetes cluster that can run both Linux and Windows workloads on Google Cloud.
Authors: Paulo Pires, Bob Steciuk [email protected]
This document describes, step-by-step, how to provision a Kubernetes cluster comprised of:
Many thanks to the great people that helped achieve this, namely:
At the time of this writing, the instructions are meant to be run on Google Compute Engine, but apart from gcloud
calls and a few networking details, everything detailed below should work regardless of the adopted cloud-provider.
Having that said, here are the requirements:
gcloud
CLI toolroot
in Linux machines.Follow these steps to deploy your cluster:
NodePort
load-balancer type).Go Here for instructions on an automated deployment of the same cluster described in the manual steps above on Google Cloud Platform.
Heterogeneous Kubernetes cluster demo.
Some pending issues:
As root
, run:
apt update
apt install -y build-essential fakeroot dkms \
autoconf automake debhelper dh-autoreconf libssl-dev libtool \
python-all python-twisted-conch python-zopeinterface \
graphviz
cd ~
git clone https://github.com/openvswitch/ovs.git
cd ovs
git checkout branch-2.6
dpkg-checkbuilddeps
DEB_BUILD_OPTIONS='nocheck' fakeroot debian/rules binary