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
7. If you need shared storage between your Kubernetes worker nodes, enable and configure NFS:
111
+
8. If you need shared storage between your Kubernetes worker nodes, enable and configure NFS:
112
112
113
113
```
114
114
$ terraform output worker_public_ips
@@ -144,14 +144,14 @@ These instructions are for Oracle Linux 7u2+. If you are using a different flav
144
144
145
145
**NOTE**: These steps must be run with the `root` user, until specified otherwise! Any time you see `YOUR_USERID` in a command, you should replace it with your actual `userid`.
146
146
147
-
Choose the directories where your Docker and Kubernetes files will be stored. The Docker directory should be on a disk with a lot of free space (more than 100GB) because it will be used for the `/var/lib/docker` file system, which contains all of your images and containers. The Kubernetes directory will be used for the `/var/lib/kubelet` file system and persistent volume storage.
147
+
1.Choose the directories where your Docker and Kubernetes files will be stored. The Docker directory should be on a disk with a lot of free space (more than 100GB) because it will be used for the `/var/lib/docker` file system, which contains all of your images and containers. The Kubernetes directory will be used for the `/var/lib/kubelet` file system and persistent volume storage.
148
148
149
149
```
150
150
export docker_dir=/scratch/docker
151
151
export k8s_dir=/scratch/k8s_dir
152
152
```
153
153
154
-
Create a shell script that sets up the necessary environment variables. You should probably just append this to the user's `.bashrc` so that it will get executed at login. You will also need to configure your proxy settings here if you are behind an HTTP proxy:
154
+
2.Create a shell script that sets up the necessary environment variables. You should probably just append this to the user's `.bashrc` so that it will get executed at login. You will also need to configure your proxy settings here if you are behind an HTTP proxy:
155
155
156
156
```
157
157
export PATH=$PATH:/sbin:/usr/sbin
@@ -186,20 +186,20 @@ If you want command completion, you can add the following to the script:
186
186
source <(kubectl completion bash)
187
187
```
188
188
189
-
Create the directories you need:
189
+
3.Create the directories you need:
190
190
191
191
```
192
192
mkdir -p $docker_dir $k8s_dir/kubelet
193
193
ln -s $k8s_dir/kubelet /var/lib/kubelet
194
194
```
195
195
196
-
Set an environment variable with the Docker version you want to install:
196
+
4.Set an environment variable with the Docker version you want to install:
197
197
198
198
```
199
199
docker_version="17.03.1.ce"
200
200
```
201
201
202
-
Install Docker, removing any previously installed version:
202
+
5.Install Docker, removing any previously installed version:
203
203
204
204
```
205
205
### install docker and curl-devel (for git if needed)
@@ -359,15 +359,15 @@ Congratulations! Docker and Kubernetes are installed and configured!
359
359
360
360
Docker for Mac 17.12 CE Edge provides an [embedded Kubernetes environment](https://docs.docker.com/docker-for-mac/#kubernetes) that is a quick and easy way to get a simple test environment set up on your Mac. To set it up, follow these instructions:
361
361
362
-
Install "Docker for Mac" from the Edge channel [https://download.docker.com/mac/edge/Docker.dmg](https://download.docker.com/mac/edge/Docker.dmg). Then start up the Docker application (press Command-Space bar, type in `Docker` and run it). After it is running you will see the Docker icon appear in your status bar:
362
+
1.Install "Docker for Mac" from the Edge channel [https://download.docker.com/mac/edge/Docker.dmg](https://download.docker.com/mac/edge/Docker.dmg). Then start up the Docker application (press Command-Space bar, type in `Docker` and run it). After it is running you will see the Docker icon appear in your status bar:
363
363
364
364

365
365
366
-
Click on that icon and select "Preferences..." from the drop down menu. Go to the "Advanced" tab and give Docker a bit more memory if you have enough to spare:
366
+
2.Click the Docker icon and select "Preferences..." from the drop down menu. Go to the "Advanced" tab and give Docker a bit more memory if you have enough to spare:
You should add `docker-for-desktop` to your `/etc/hosts` file entry for `127.0.0.1`, as shown in this example, and you must use an admin user to edit this file:
397
+
5.You should add `docker-for-desktop` to your `/etc/hosts` file entry for `127.0.0.1`, as shown in this example, and you must use an admin user to edit this file:
398
398
399
399
```
400
400
##
@@ -408,13 +408,13 @@ You should add `docker-for-desktop` to your `/etc/hosts` file entry for `127.0.0
408
408
::1 localhost
409
409
```
410
410
411
-
You may also have to tell `kubectl` to ignore the certificate by entering this command:
411
+
6.You may also have to tell `kubectl` to ignore the certificate by entering this command:
0 commit comments