Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostPath volumes not working with VMware Fusion Pro 11.0.3 #21

Open
wittlesouth opened this issue May 5, 2019 · 0 comments
Open

hostPath volumes not working with VMware Fusion Pro 11.0.3 #21

wittlesouth opened this issue May 5, 2019 · 0 comments

Comments

@wittlesouth
Copy link

I recently tried upgrading versions in my OS X development environment, and ran into issues starting a MySQL virtual machine due to issues accessing a hostPath persistent volume. The configuration I have works fine when using the vmwarefusion driver, but fails with the VMware driver.

minikube version: 1.0.1
kubernetes version: 1.14.1
vmware fusion version: 11.0.3 pro

The persistent volume is created with the following yams:

# Create local volumes for development MySQL instance
#
# Persistent Volume
apiVersion: v1
kind: PersistentVolume
metadata:
  name: dev-db
  labels:
    type: local
spec:
  accessModes:
    - ReadWriteOnce
  capacity:
    storage: 5Gi
  storageClassName: local-dev-db
  hostPath:
    path: /Users/eric/Development/wsv/localdev/dev-db-files

If I use the vmwarefusion driver with the configuration, mysql starts and runs fine. If I use the vmware driver, the mysql container errors during initialization with issues creating / accessing files in the data directory (which should be the persistent volume created above). Let me know what else is needed for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant