Chapter 11: Template Code Generation and CI/CD on Kubernetes
This chapter discusses some easier ways to template and configure large Kubernetes deployments with many resources. It also details a number of methods for implementing Continuous Integration/Continuous Deployment (CI/CD) on Kubernetes, as well as the pros and cons associated with each possible method. Specifically, we talk about in-cluster CI/CD, where some or all of the CI/CD steps are performed in our Kubernetes cluster, and out-of-cluster CI/CD, where all the steps take place outside our cluster.
The case study in this chapter will include creating a Helm chart from scratch, along with an explanation of each piece of a Helm chart and how it works.
To begin, we will cover the landscape of Kubernetes resource template generation, and the reasons why a template generation tool should be used at all. Then, we will cover implementing CI/CD to Kubernetes, first with AWS CodeBuild, and next with FluxCD.
In this chapter...