Update README.md

This commit is contained in:
Sambo Chea 2021-10-09 17:28:17 +07:00 committed by GitHub
parent d05b82b7f0
commit 8ed5325362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ EOF
sudo modprobe overlay sudo modprobe overlay
sudo modprobe br_netfilter sudo modprobe br_netfilter
# Setup required sysctl params, these persist across reboots. # Setup required sysctl params, these persist across reboots. (If using crio)
cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes-cri.conf cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes-cri.conf
net.bridge.bridge-nf-call-iptables = 1 net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1 net.ipv4.ip_forward = 1
@ -116,6 +116,7 @@ containerd config default | sudo tee /etc/containerd/config.toml
sudo systemctl restart containerd sudo systemctl restart containerd
``` ```
**If using crio**
- Update config - Update config
```shell ```shell
sudo nano /etc/containerd/config.toml sudo nano /etc/containerd/config.toml