Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubeadm get discovery-token-ca-cert-hash

# at cp node
openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed 's/ˆ.* //'
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #kubeadm
ADD COMMENT
Topic
Name
9+7 =