You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/labs/kubernetes-the-hard-way/lab2-jumpbox.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
author: Wale Soyinka
3
-
contributors: Steven Spencer
3
+
contributors: Steven Spencer, Ganna Zhyrnova
4
4
tags:
5
5
- kubernetes
6
6
- k8s
@@ -9,29 +9,29 @@ tags:
9
9
10
10
# Lab 2: Set Up The Jumpbox
11
11
12
-
In this lab you will set up one of the four machines to be a `jumpbox`. You will use this machine to run commands in this tutorial. While the use of a dedicated machine is to ensure consistency, you can run these commands from just about any machine, including your personal workstation running macOS or Linux.
12
+
In this lab, you will set up one of the four machines as a `jumpbox`. You will use this machine to run commands in this tutorial. While a dedicated machine is used to ensure consistency, you can run these commands from just about any machine, including your personal workstation running macOS or Linux.
13
13
14
-
Think of the `jumpbox` as the administration machine that you will use as a home base when setting up your Kubernetes cluster from the ground up. One thing you need to do before you get started is to install a few command line utilities and clone the Kubernetes The Hard Way git repository, which contains some additional configuration files that you will use to configure various Kubernetes components throughout this tutorial.
14
+
Think of the `jumpbox` as the administration machine you will use as a home base when setting up your Kubernetes cluster from the ground up. One thing you need to do before you get started is to install a few command line utilities and clone the Kubernetes The Hard Way git repository, which contains some additional configuration files that you will use to configure various Kubernetes components throughout this tutorial.
15
15
16
16
Log in to the `jumpbox`:
17
17
18
18
```bash
19
19
ssh root@jumpbox
20
20
```
21
21
22
-
You will run all commands as the `root` user, for the sake of convenience, and it will help reduce the number of commands required to set everything up.
22
+
For convenience, you will run all commands as the `root` user, which will help reduce the number of commands required to set everything up.
23
23
24
24
## Install Command Line Utilities
25
25
26
-
Once logged into the `jumpbox` machine as the `root` user, you will install the command line utilities that you will use to preform various tasks throughout the tutorial:
26
+
Once logged into the `jumpbox` machine as the `root` user, you will install the command line utilities that you will use to perform various tasks throughout the tutorial:
27
27
28
28
```bash
29
29
sudo dnf -y install wget curl vim openssl git
30
30
```
31
31
32
32
## Sync GitHub Repository
33
33
34
-
Now it is time to download a copy of this tutorial which contains the configuration files and templates that you will use to build your Kubernetes cluster from the ground up. Clone the Kubernetes The Hard Way git repository using the `git` command:
34
+
Now it is time to download a copy of this tutorial, which contains the configuration files and templates you will use to build your Kubernetes cluster from the ground up. Clone the Kubernetes The Hard Way git repository using the `git` command:
35
35
36
36
```bash
37
37
git clone --depth 1 \
@@ -44,7 +44,7 @@ Change into the `kubernetes-the-hard-way` directory:
44
44
cd kubernetes-the-hard-way
45
45
```
46
46
47
-
This will be the working directory for the rest of the tutorial. If you ever get lost run the `pwd` command to verify you are in the right directory when running commands on the `jumpbox`:
47
+
This will be the working directory for the rest of the tutorial. If you ever get lost, run the `pwd` command to verify you are in the correct directory when running commands on the `jumpbox`:
48
48
49
49
```bash
50
50
pwd
@@ -56,7 +56,7 @@ pwd
56
56
57
57
## Download Binaries
58
58
59
-
Here you will download the binaries for the various Kubernetes components. Store these binaries in the `Downloads` directory on the `jumpbox`. This will reduce the amount of internet bandwidth required to complete this tutorial as you avoid downloading the binaries many times for each machine in our Kubernetes cluster.
59
+
Here, you will download the binaries for the various Kubernetes components. Store these binaries in the `Downloads` directory on the `jumpbox`. This will reduce the amount of internet bandwidth required to complete this tutorial as you avoid downloading the binaries many times for each machine in our Kubernetes cluster.
60
60
61
61
The `download.txt` file lists the binaries you will download, which you can review using the `cat` command:
62
62
@@ -74,7 +74,7 @@ wget -q --show-progress \
74
74
-i downloads.txt
75
75
```
76
76
77
-
Depending on your internet connection speed it might take a while to download the `584` megabytes of binaries. Once the download is complete, you can list them using the `ls` command:
77
+
Depending on your internet connection speed, it might take a while to download the `584` megabytes of binaries. Once the download is complete, you can list them using the `ls` command:
78
78
79
79
```bash
80
80
ls -loh downloads
@@ -97,7 +97,7 @@ total 557M
97
97
98
98
## Install `kubectl`
99
99
100
-
In this section you will install the `kubectl`, the official Kubernetes client command line tool, on the `jumpbox` machine. You will use `kubectl` to interact with the Kubernetes control plane after provisioning of your cluster completes later in this tutorial.
100
+
In this section, you will install the `kubectl`, the official Kubernetes client command line tool, on the `jumpbox` machine. You will use `kubectl` to interact with the Kubernetes control plane after the provisioning of your cluster completes later in this tutorial.
101
101
102
102
Use the `chmod` command to make the `kubectl` binary executable and move it to the `/usr/local/bin/` directory:
103
103
@@ -117,6 +117,6 @@ Client Version: v1.32.0
117
117
Kustomize Version: v5.5.0
118
118
```
119
119
120
-
At this point, you have set up `jumpbox` with all the commandline tools and utilities necessary to complete the labs in this tutorial.
120
+
At this point, you have set up a `jumpbox` with all the command-line tools and utilities necessary to complete the labs in this tutorial.
0 commit comments