add_local_k8scluster
track final_ops add_local_k8scluster_ok
- echo -e "Fixup firewall so docker and LXD can share the host."
- sudo iptables -I DOCKER-USER -j ACCEPT
+ arrange_docker_default_network_policy
wget -q -O- https://osm-download.etsi.org/ftp/osm-13.0-thirteen/README2.txt &> /dev/null
track end
return 0
}
+function arrange_docker_default_network_policy() {
+ echo -e "Fixing firewall so docker and LXD can share the same host without affecting each other."
+ sudo iptables -I DOCKER-USER -j ACCEPT
+ sudo iptables-save | sudo tee /etc/iptables/rules.v4
+ sudo ip6tables-save | sudo tee /etc/iptables/rules.v6
+}
+
function install_k8s_monitoring() {
[ -z "${DEBUG_INSTALL}" ] || DEBUG beginning of function
# install OSM monitoring