chg: Hostnames In Documentation

Changed server to controlplane and node-0 to node01, and node-1 to
node02 in the documentation.

Also started reformatting to limit lines to 80 characters.

Added a section on how to enable to root account for login.
This commit is contained in:
Khalifah Shabazz
2025-06-01 22:33:01 -04:00
parent 52a56e1a1d
commit 7945e68d92
8 changed files with 176 additions and 98 deletions

View File

@@ -9,7 +9,7 @@ The commands in this section must be run from the `jumpbox`.
Copy the Kubernetes binaries and systemd unit files to each worker instance:
```bash
for HOST in node-0 node-1; do
for HOST in node01 node02; do
SUBNET=$(grep ${HOST} machines.txt | cut -d " " -f 4)
sed "s|SUBNET|$SUBNET|g" \
configs/10-bridge.conf > 10-bridge.conf
@@ -23,7 +23,7 @@ done
```
```bash
for HOST in node-0 node-1; do
for HOST in node01 node02; do
scp \
downloads/worker/* \
downloads/client/kubectl \
@@ -38,17 +38,17 @@ done
```
```bash
for HOST in node-0 node-1; do
for HOST in node01 node02; do
scp \
downloads/cni-plugins/* \
root@${HOST}:~/cni-plugins/
done
```
The commands in the next section must be run on each worker instance: `node-0`, `node-1`. Login to the worker instance using the `ssh` command. Example:
The commands in the next section must be run on each worker instance: `node01`, `node02`. Login to the worker instance using the `ssh` command. Example:
```bash
ssh root@node-0
ssh root@node01
```
## Provisioning a Kubernetes Worker Node
@@ -184,7 +184,7 @@ systemctl is-active kubelet
active
```
Be sure to complete the steps in this section on each worker node, `node-0` and `node-1`, before moving on to the next section.
Be sure to complete the steps in this section on each worker node, `node01` and `node02`, before moving on to the next section.
## Verification
@@ -200,8 +200,8 @@ ssh root@server \
```
NAME STATUS ROLES AGE VERSION
node-0 Ready <none> 1m v1.32.3
node-1 Ready <none> 10s v1.32.3
node01 Ready <none> 1m v1.32.3
node02 Ready <none> 10s v1.32.3
```
Next: [Configuring kubectl for Remote Access](10-configuring-kubectl.md)