Need to change CgroupDriver of docker to systemd

When using kubeadm to install K8S, the CgroupDriver of docker needs to be changed to systemd by following the link below.
https://kubernetes.io/docs/setup/production-environment/container-runtimes/

Otherwise, when running “kubeadm init”, it will show a pre-flight warning that docker is using cgroupfs as its CgroupDriver, and correspondingly it will use cgroupfs for kubelet as well, which will cause problem in resource management. See more details in the link below.
https://github.com/kubernetes/kubeadm/issues/1394