Skip to content

Instantly share code, notes, and snippets.

@wkharold
Created February 29, 2016 23:10
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 wkharold/f7c3a818448360204f1f to your computer and use it in GitHub Desktop.
Save wkharold/f7c3a818448360204f1f to your computer and use it in GitHub Desktop.
Reproduces Kubernetes 1.1.8 issue creating pods with multiple gitRepo volumes
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: pause
name: pauser
namespace: dev
spec:
replicas: 1
selector:
name: pauser
template:
metadata:
namespace: dev
labels:
name: pauser
role: pause
spec:
containers:
- name: pauser
image: gcr.io/google_containers/pause:0.8.0
volumeMounts:
- mountPath: /mnt/nxc
name: nxc
- mountPath: /mnt/data
name: data
- mountPath: /mnt/jobd.d
name: jobd
volumes:
- name: data
hostPath:
path: /tmp
- name: jobd
gitRepo:
repository: https://github.com/wkharold/jobd
revision: master
- name: nxc
gitRepo:
repository: https://github.com/wkharold/nxc
revision: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment