I try to install minikube on my server - it is a virtual server, therefore I only have the option to run it with --vm-driver=none
. However, I face an error during preflight:
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
When I run the following command (to fix problem), I get a permission denied, even as root.
echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables
This question is not really about minikube, more about why I don't have write access to that file, even when I am root.
I followed the suggestions in this post, but got stuck with the permission denied. The post is relevant as minikube internally uses kubeadm.