Open shamaloy opened 4 months ago
Resolution: Add following code
volumeMounts:
- mountPath: /run/xtables.lock
name: xtables-lock
readOnly: false
- mountPath: /lib/modules
name: lib-modules
readOnly: true
volumes:
- name: xtables-lock
hostPath:
path: /run/xtables.lock
type: FileOrCreate
- name: lib-modules
hostPath:
path: /lib/modules
type: ""
| failed to run command: /sbin/iptables -t nat -N CONSUL_PROXY_INBOUND, err: exit status 3, output: modprobe: can't change directory to '/lib/modules': No such file or directory | iptables v1.8.8 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) | Perhaps iptables or your kernel needs to be upgraded.