Make sure you have a Kubernetes cluster ready and kubectl and helm configured to manage the cluster resources. In this recipe, we are using a cluster that's been deployed on AWS using kops, as described in Chapter 1, Building Production-Ready Kubernetes Clusters, in the Amazon Web Services recipe. The same instructions will work on all major cloud providers.
To access the example files, clone the k8sdevopscookbook/src repository to your workstation to use the configuration files in the src/chapter7/lb directory, as follows:
$ git clone https://github.com/k8sdevopscookbook/src.git
$ cd src/chapter7/lb/
After you've cloned the examples repository, you can move on to the recipes.