All the operations mentioned in this recipe require a fully functional Jenkins deployment, as described in Chapter 3, Building CI/CD Pipelines, in the Setting up a CI/CD pipeline in Jenkins X section.
Clone the k8sdevopscookbook/src repository to your workstation to use the manifest files in the chapter10 directory:
$ git clone https://github.com/k8sdevopscookbook/src.git
$ cd src/chapter10
Make sure you have a Kubernetes cluster, Jenkins X, and an EFK stack ready and that kubectl has been configured so that you can manage the cluster resources.