Deploying Stateful Applications without Persisting State

In this lesson, we will deploy Jenkins, a stateful application, without persisting its state.

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 benefits behind of some of the Kubernetes concepts and resources we’ll use in this chapter.

Deploying Jenkins

We 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 take a look at a definition stored in the pv/jenkins-no-pv.yml file.

Get hands-on with 1200+ tech skills courses.