Skip to content

Instantly share code, notes, and snippets.

@minrk
Created September 20, 2017 19:24
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 minrk/22abe39fbc270c3f3f1d4771a287c0b5 to your computer and use it in GitHub Desktop.
Save minrk/22abe39fbc270c3f3f1d4771a287c0b5 to your computer and use it in GitHub Desktop.
#!/bin/sh
# workaround some wrinkles I've encountered when working with minikube
# run via `cat minikube-wrinkles.sh | minikube ssh`
# workaround kubernetes/minikube#1568 (pods cannot connect to own service ip)
sudo ip link set docker0 promisc on
# make hostpath volumes world-writable by default
sudo chmod -R a+rwX /tmp/hostpath-provisioner/
sudo setfacl -d -m u::rwX /tmp/hostpath-provisioner/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment