The error message suggests that there are some pre-flight checks that have failed, specifically related to the HTTP proxy and swap space.
To resolve the HTTP proxy warnings, you need to ensure that the Pod and Services IP ranges are specified correctly as exceptions in your proxy configuration. You can also adjust your proxy settings if necessary.
To resolve the swap space error, you need to disable swap on your system before running kubeadm init. You can do this by running:
sudo swapoff -a
This will temporarily disable swap for the current session. To permanently disable swap, you should comment out any lines containing ‘swap’ in your /etc/fstab file.
Once you have resolved these issues, you can try running kubeadm init again with the same command:
kubeadm init --apiserver-advertise-address=10.128.23.80 --image-repository registry.aliyuncs.com/google_containers --kubernetes-version v1.18.0 --service-cidr=10.96.0.0/12 --pod-network-cidr=10.244.0.0/16
If there are still errors or warnings, try using --ignore-preflight-errors
flag to skip specific checks or increase verbosity with --v=5
flag to see more detailed error messages and stack traces.