Created
May 26, 2016 00:50
-
-
Save naveensrinivasan/98aa6da98ebb9b7e3d7f996c8ef2cb38 to your computer and use it in GitHub Desktop.
Jenkins kubernetes deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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