mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-07-27 14:13:53 +03:00
fix formatting of bootstrap token generation
This commit is contained in:

committed by
Kelsey Hightower

parent
610099af09
commit
450709e996
@@ -38,7 +38,9 @@ This section will walk you through the creation of a TLS bootstrap token that wi
|
||||
|
||||
Generate a token:
|
||||
|
||||
```
|
||||
BOOTSTRAP_TOKEN=$(head -c 16 /dev/urandom | od -An -t x | tr -d ' ')
|
||||
```
|
||||
|
||||
Generate a token file:
|
||||
|
||||
@@ -135,4 +137,4 @@ kubectl config use-context default --kubeconfig=kube-proxy.kubeconfig
|
||||
for host in worker0 worker1 worker2; do
|
||||
gcloud compute copy-files bootstrap.kubeconfig kube-proxy.kubeconfig ${host}:~/
|
||||
done
|
||||
```
|
||||
```
|
||||
|
Reference in New Issue
Block a user