Deploying Stateful Applications without Persisting State
Learn how to deploy Jenkins, a stateful application, without persisting its state.
We'll cover the following
We’ll start the exploration by deploying a stateful application without any mechanism to persist its state. That will give us a better insight into the benefits of some of the Kubernetes concepts and resources we’ll use in this chapter.
Deploying Jenkins
We have already deployed Jenkins a few times. Since it is a stateful application, it is an excellent candidate to serve as a playground.
Looking into the definition
Let’s look at a definition stored in the pv/jenkins-no-pv.yml
file:
Get hands-on with 1200+ tech skills courses.