Persisting state through the emptyDir volume type

This time we'll deploy Jenkins and see what challenges we will face.

Let's take a look at the volume/jenkins.yml definition:

cat volume/jenkins.yml  

The output is as follows:

apiVersion: extensions/v1beta1 
kind: Ingress 
  name: Jenkins 
  annotations: "false" "false" spec: rules: - http: paths: - path: /Jenkins backend: serviceName: Jenkins servicePort: 8080 --- apiVersion: apps/v1beta2 kind: Deployment metadata: name: Jenkins spec: selector: matchLabels: type: master service: Jenkins strategy: type: Recreate template: metadata: labels: type: master service: Jenkins spec: containers: - name: Jenkins image: ...

Get The DevOps 2.3 Toolkit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.