Skip to content

Instantly share code, notes, and snippets.

@gabrielrojasnyc
Last active April 6, 2018 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielrojasnyc/8578c196756bce51535a4c99ac03909b to your computer and use it in GitHub Desktop.
Save gabrielrojasnyc/8578c196756bce51535a4c99ac03909b to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jenkins-deployment
spec:
replicas: 1
template:
metadata:
labels:
app: jenkins
spec:
containers:
- name: jenkins
image: gabrielrojas/jenkinssummit
ports:
- name: http-port
containerPort: 8080
- name: jnlp-port
containerPort: 31000
volumeMounts:
- name: jenkins-persistent-storge
mountPath: /var/jenkins_home
volumes:
- name: jenkins-persistent-storge
emptyDir: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment