Skip to content

Instantly share code, notes, and snippets.

@rootfs
Created April 18, 2016 14:13
Show Gist options
  • Save rootfs/2a5b4956d52807ba11909bdae656721f to your computer and use it in GitHub Desktop.
Save rootfs/2a5b4956d52807ba11909bdae656721f to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: gluster-1
labels:
name: gluster-1
spec:
hostNetwork: true
nodeSelector:
name: worker-1
containers:
- name: glusterfs
image: gluster/gluster-centos
ports:
- name: web
containerPort: 80
volumeMounts:
- name: brickpath
mountPath: "/mnt/brick1"
securityContext:
capabilities: {}
privileged: true
volumes:
- name: brickpath
hostPath:
path: "/mnt/brick1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment