Skip to content

Instantly share code, notes, and snippets.

@bencer
Created January 30, 2017 15:27
Show Gist options
  • Save bencer/2eb685481c9c2960495ece2a4ab7caf2 to your computer and use it in GitHub Desktop.
Save bencer/2eb685481c9c2960495ece2a4ab7caf2 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: ceph-mysql
spec:
containers:
- name: ceph-mysql
image: tutum/mysql
ports:
- name: mysql-db
containerPort: 3306
volumeMounts:
- name: mysql-pv
mountPath: /var/lib/mysql
volumes:
- name: mysql-pv
persistentVolumeClaim:
claimName: ceph-claim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment