Can't find kubeadm token after initializing master

The instruction for Kubernetes 1.9.x (and above) can be found here.

The commands I used are:

kubeadm token generate
kubeadm token create <generated-token> --print-join-command --ttl=0

Run this command in the master node to get the token

kubeadm token list

--token

By default, kubeadm init automatically generates the token used to initialise each new node. If you would like to manually specify this token, you can use the --token flag. The token must be of the format ‘<6 character string>.<16 character string>’.

you can see token value on master node using command:

cat /etc/kubernetes/pki/tokens.csv