接着上面的博客写
pwd
/etc/kubernetes
echo "`head -c 16 /dev/urandom | od -An -t x | tr -d ' '`,kubelet-bootstrap,10001,"system:kubelet-bootstrap"" > token.csv
cat token.csv
也可以使用上面的命令在工作中生成随机字符串
head -c 16 /dev/urandom | od -An -t x | tr -d ' '