apiVersion:                v1
kind:                      Pod
metadata:
  name:                    db
spec:
  containers:
  - image:                 mysql:5.5
    name:                  db
    volumeMounts:
    - mountPath:           /var/lib/mysql
      name:                data
    env:
    - name:                MYSQL_ROOT_PASSWORD
      value:               root
  volumes:
  - name:                  data
    persistentVolumeClaim:
      claimName:           data
