Because secrets management begins with the initial configuration and the security needs of the application, it’s important to fully understand the initial setup process. In this chapter, you will learn more about how to manage configurations, both insecure and secure, by deploying a simple RESTful Web Service that returns a greeting message.
NOTE
You’ll need a Kubernetes cluster to run the implementations in this book. You can use any Kubernetes distribution provided by a public cloud or made to run it locally.
The examples in this book are tested using a minikube cluster. Minikube allows you to run Kubernetes locally in a single-node Kubernetes cluster inside a virtual machine (VM) on a laptop. Follow the instructions in appendix A to install your Kubernetes cluster, and then return to this chapter to get started.
We’ll start by reviewing some basics about Kubernetes architecture and configuration. If you are already well versed in Kubernetes, the next few pages, in which we’ll establish the initial configuration for your web service, should be very familiar. We’ll dive into Kubernetes Secrets after we complete the default setup.