Skip to content

Commit c722fd7

Browse files
committed
formatting
1 parent 45d83d1 commit c722fd7

File tree

1 file changed

+32
-48
lines changed

1 file changed

+32
-48
lines changed

local-development/readme.adoc

Lines changed: 32 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,11 @@ Verify the version:
6161
Finally delete the previous minikube ISO:
6262

6363
minikube delete
64-
+
6564

6665
=== Setup on Windows
6766

6867
. Download and install https://www.virtualbox.org/wiki/Downloads[VirtualBox].
69-
. Download the https://storage.googleapis.com/minikube/releases/latest/minikube-windows-amd64.exe[minikube-windows-amd64.exe] file, and rename it to `minikube.exe`.
70-
+
71-
Verify the version:
68+
. Download the https://storage.googleapis.com/minikube/releases/latest/minikube-windows-amd64.exe[minikube-windows-amd64.exe] file, and rename it to `minikube.exe`. Verify the version:
7269
+
7370
$ minikube version
7471
minikube version: v0.24.1
@@ -84,46 +81,41 @@ Latest instructions are also available at https://kubernetes.io/docs/tasks/tools
8481

8582
. Download and install https://www.virtualbox.org/wiki/Downloads[VirtualBox].
8683
. Install minikube:
87-
+
84+
8885
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
89-
+
90-
Verify the version:
91-
+
86+
87+
. Verify the version:
88+
9289
$ minikube version
9390
minikube version: v0.24.1
94-
+
9591

9692
=== Setup on EC2 (if you do not virtualbox on your laptop)
9793

9894
. Launch an EC2 (at least 4GB Memory) with an "Ubuntu Server 16.04 LTS (HVM)" AMI, make sure you have a public IP and can SSH into this instance.
9995
. SSH into the EC2 (the port forwarding is for the minikube dashboard):
100-
+
96+
10197
$ ssh -L30000:localhost:30000 ubuntu@<IP Address of EC2>
102-
+
10398

10499
. Install docker
105-
+
100+
106101
$ sudo -i
107102
$ apt-get update -y && apt-get install -y docker.io
108-
+
109103

110104
. Install minikube:
111-
+
105+
112106
$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
113-
+
114107

115-
Verify the version:
116-
+
108+
. Verify the version:
109+
117110
$ minikube version
118111
minikube version: v0.24.1
119-
+
112+
120113
. Install or Upgrade Kubectl CLI:
121-
+
114+
122115
$ curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.8.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
123-
+
124116

125117
. Add kubectl autocompletion to your current shell
126-
+
118+
127119
$ source <(kubectl completion bash)
128120

129121
== Start Kubernetes cluster
@@ -132,47 +124,39 @@ We are using the VirtualBox driver which is the default selection for minikube.
132124

133125
Start a single-node Kubernetes cluster on your local machine:
134126

135-
```
136127
$ minikube start
137-
```
138128

139-
if you have installed minikube on a EC2, start it with the --vm-driver=none flag
129+
if you have installed minikube on a EC2, start it with the `--vm-driver=none` flag
140130

141-
```
142131
$ minikube start --vm-driver=none
143-
```
144132

145133
The first start of minikube will download the ISO file and then start the cluster. It shows the following output:
146134

147-
```
148-
$ minikube start
149-
Starting local Kubernetes v1.8.0 cluster...
150-
Starting VM...
151-
Downloading Minikube ISO
152-
140.01 MB / 140.01 MB [============================================] 100.00% 0s
153-
Getting VM IP address...
154-
Moving files into cluster...
155-
Downloading localkube binary
156-
148.56 MB / 148.56 MB [============================================] 100.00% 0s
157-
Setting up certs...
158-
Connecting to cluster...
159-
Setting up kubeconfig...
160-
Starting cluster components...
161-
Kubectl is now configured to use the cluster.
162-
```
135+
$ minikube start
136+
Starting local Kubernetes v1.8.0 cluster...
137+
Starting VM...
138+
Downloading Minikube ISO
139+
140.01 MB / 140.01 MB [============================================] 100.00% 0s
140+
Getting VM IP address...
141+
Moving files into cluster...
142+
Downloading localkube binary
143+
148.56 MB / 148.56 MB [============================================] 100.00% 0s
144+
Setting up certs...
145+
Connecting to cluster...
146+
Setting up kubeconfig...
147+
Starting cluster components...
148+
Kubectl is now configured to use the cluster.
163149

164150
Now you can start to develop and test your application.
165151

166152
=== Check status
167153

168154
Check the status of minikube to get the status of your local Kubernetes cluster:
169155

170-
```
171-
$ minikube status
172-
minikube: Running
173-
cluster: Running
174-
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100
175-
```
156+
$ minikube status
157+
minikube: Running
158+
cluster: Running
159+
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100
176160

177161
Kubectl CLI is configured to talk to this cluster.
178162

0 commit comments

Comments
 (0)