mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 09:48:57 +03:00
Update 05-kubernetes-configuration-files.md
Mention that these steps cannot be run from an arbitrary directory.
This commit is contained in:
@@ -24,6 +24,8 @@ When generating kubeconfig files for Kubelets the client certificate matching th
|
|||||||
|
|
||||||
Generate a kubeconfig file for each worker node:
|
Generate a kubeconfig file for each worker node:
|
||||||
|
|
||||||
|
Run these commands from within the same directory that contains the files generated by the steps in the [Certificate Authority](../04-certificate-authority.md) tutorial.
|
||||||
|
|
||||||
```
|
```
|
||||||
for instance in worker-0 worker-1 worker-2; do
|
for instance in worker-0 worker-1 worker-2; do
|
||||||
kubectl config set-cluster kubernetes-the-hard-way \
|
kubectl config set-cluster kubernetes-the-hard-way \
|
||||||
|
|||||||
Reference in New Issue
Block a user