Non-persisting State
Explore what happens when Kubernetes containers lose non persisting state during pod termination or failure. Understand how Jenkins deployment behaves without volume persistence and observe container restarts clearing application data. This lesson helps you grasp state management challenges in Kubernetes pods.
Deploying Jenkins
This time we’ll deploy Jenkins and see what challenges we will face.
Looking into the definition
Let’s look at the jenkins.yml definition:
There’s nothing special in that YAML file. It defines an Ingress with /jenkins path, a Deployment, and a Service. We won’t waste time with it. Instead, we’ll move on and create the objects.
Creating the objects
It’s ...