Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux_faq:kubernetes_using_single_node_as_master_and_worker [2022/04/28 10:49]
admin
linux_faq:kubernetes_using_single_node_as_master_and_worker [2022/04/28 11:25] (current)
admin [Single node Kubernetes setup - Ubuntu 18.04]
Line 42: Line 42:
   After=containerd.service   After=containerd.service
   EOF   EOF
 +   
 +  sudo sed -i 's/SystemdCgroup = false/SystemdCgroup = true/' /etc/containerd/config.toml 
 +  sudo service containerd restart 
 +   
 +  
   # Kubernetes Cluster Init    # Kubernetes Cluster Init 
   sudo kubeadm init --cri-socket /run/containerd/containerd.sock --pod-network-cidr=10.244.0.0/16   sudo kubeadm init --cri-socket /run/containerd/containerd.sock --pod-network-cidr=10.244.0.0/16
  • linux_faq/kubernetes_using_single_node_as_master_and_worker.txt
  • Last modified: 2022/04/28 11:25
  • by admin