Persisting State through the emptyDir Volume Type
In this lesson, we will analyze the state of an updated Jenkins Deployment and discuss emptyDir Volume type.
Updating the Jenkins Deployment Definition
Let’s take a look at a slightly updated YAML definition.
The output, limited to the relevant parts, is as follows.
We added a mount that references the jenkins-home Volume. The Volume type is, this time, emptyDir. We’ll discuss the new Volume type soon. But, before we dive into explanations, we’ll try to experience its effects.
We applied the new definition and waited until the rollout finished.
Now we can open the New Job Jenkins screen and repeat the same process we followed before.
Please type test in the item name field, ...
Access this course and 1600+ top-rated courses and projects.