Skip to content

Instantly share code, notes, and snippets.

@naveensrinivasan
Created May 26, 2016 00:50
Show Gist options
  • Save naveensrinivasan/98aa6da98ebb9b7e3d7f996c8ef2cb38 to your computer and use it in GitHub Desktop.
Save naveensrinivasan/98aa6da98ebb9b7e3d7f996c8ef2cb38 to your computer and use it in GitHub Desktop.
Jenkins kubernetes deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jenkins
spec:
replicas: 1
template:
metadata:
labels:
app: jenkins
spec:
containers:
- name: jenkins
image: quay.io/naveensrinivasan/jenkins:0.1
ports:
- containerPort: 8080
volumeMounts:
- mountPath: /var/jenkins_home
name: jenkins-volume
volumes:
- name: jenkins-volume
awsElasticBlockStore:
volumeID: vol-29c4b99f
fsType: ext4
imagePullSecrets:
- name: registrypullsecret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment