Skip to content

Commit f204118

Browse files
committed
updates readme
1 parent 689132e commit f204118

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

README.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,35 @@ $ docker-compose up -d --build
1414

1515
### Minikube
1616

17-
Install and run [Minikube](https://kubernetes.io/docs/setup/minikube/).
17+
Install and run [Minikube](https://kubernetes.io/docs/setup/minikube/):
1818

19-
#### [Hyperkit](https://github.com/moby/hyperkit) Example
19+
1. Install a [Hypervisor](https://kubernetes.io/docs/tasks/tools/install-minikube/#install-a-hypervisor) (like [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or [HyperKit](https://github.com/moby/hyperkit)) to manage virtual machines
20+
1. Install and Set Up [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) to deploy and manage apps on Kubernetes
21+
1. Install [Minikube](https://github.com/kubernetes/minikube/releases)
2022

21-
Install:
23+
Start the cluster:
2224

2325
```sh
24-
$ curl -Lo docker-machine-driver-hyperkit \
25-
https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit \
26-
&& chmod +x docker-machine-driver-hyperkit \
27-
&& sudo cp docker-machine-driver-hyperkit /usr/local/bin/ \
28-
&& rm docker-machine-driver-hyperkit \
29-
&& sudo chown root:wheel /usr/local/bin/docker-machine-driver-hyperkit \
30-
&& sudo chmod u+s /usr/local/bin/docker-machine-driver-hyperkit
26+
$ minikube start --vm-driver=virtualbox
27+
$ eval $(minikube docker-env)
28+
$ minikube dashboard
3129
```
3230

33-
Run:
31+
### Volume
32+
33+
Create the volume:
3434

3535
```sh
36-
$ minikube start --vm-driver=hyperkit
37-
$ eval $(minikube docker-env)
38-
$ minikube dashboard
36+
$ kubectl apply -f ./kubernetes/persistent-volume.yml
3937
```
4038

39+
Create the volume claim:
40+
41+
```sh
42+
$ kubectl apply -f ./kubernetes/persistent-volume-claim.yml
43+
```
44+
45+
4146
### Postgres
4247

4348
Create deployment:

0 commit comments

Comments
 (0)