mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-14 16:58:58 +03:00
Update 05-kubernetes-configuration-files.md
This commit is contained in:
committed by
GitHub
parent
bbed1bb49b
commit
ce4a8e2f18
@@ -38,7 +38,7 @@ for host in node-0 node-1; do
|
|||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
Results:
|
Generate Files:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
node-0.kubeconfig
|
node-0.kubeconfig
|
||||||
@@ -73,7 +73,7 @@ Generate a kubeconfig file for the `kube-proxy` service:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Results:
|
Generate Files:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
kube-proxy.kubeconfig
|
kube-proxy.kubeconfig
|
||||||
@@ -107,7 +107,7 @@ Generate a kubeconfig file for the `kube-controller-manager` service:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Results:
|
Generate Files:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
kube-controller-manager.kubeconfig
|
kube-controller-manager.kubeconfig
|
||||||
@@ -142,7 +142,7 @@ Generate a kubeconfig file for the `kube-scheduler` service:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
It will generate two config files for each node:
|
Generate Files:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
kube-scheduler.kubeconfig
|
kube-scheduler.kubeconfig
|
||||||
@@ -176,7 +176,7 @@ Generate a kubeconfig file for the `admin` user:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Results:
|
Generate Files:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
admin.kubeconfig
|
admin.kubeconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user