update readme and todo

This commit is contained in:
Piethein Strengholt
2018-05-11 13:05:28 +02:00
parent ac26aae670
commit 9efa343c6a

View File

@@ -24,7 +24,7 @@ The next step is to start the project, by starting the Docker image just created
docker-compose up -d docker-compose up -d
``` ```
If the image works correctly you should be able to open the following webpage. Make sure port 8181 is not used by any other application. You should see the 'Laravel' page if everything works fine. If the image works correctly you should be able to open the following webpage. Make sure port 8181 is not used by any other application. You should see the 'Laravel' page if everything works fine. See the screenshot below:
``` ```
http://localhost:8181/ http://localhost:8181/
@@ -95,6 +95,8 @@ Your default webbrowser will open a new tab using the following url:
http://192.168.99.100:30000/#!/overview?namespace=default http://192.168.99.100:30000/#!/overview?namespace=default
``` ```
See the screenshot below:
![Screenshot](public/img/kubernetes.png) ![Screenshot](public/img/kubernetes.png)
We can also validate the status by using the commandline. Run the following command: We can also validate the status by using the commandline. Run the following command:
@@ -126,6 +128,8 @@ Use the port name and open the browser to validate if the image is working accor
http://192.168.99.100:32469/ http://192.168.99.100:32469/
``` ```
See the screenshot below of Laravel running now on Kubernetes:
![Screenshot](public/img/laravel-project.png) ![Screenshot](public/img/laravel-project.png)
In case you want to debug, you can use the following command to see the events generated by Kubernetes: In case you want to debug, you can use the following command to see the events generated by Kubernetes:
@@ -135,7 +139,10 @@ kubectl get events
``` ```
### TODO ### TODO
Run the images straight from the docker.io hub: - Add MySQL instances
- Add AWS & Azure Services
- Replace Laravel 5.4 with latest
- Run the images straight from the docker.io hub:
``` ```
kubectl run --image=docker.io/pietheinstrengholt/laravel-docker-k8s:v1 laravel-docker-k8s --port=8181 --env="DOMAIN=cluster" kubectl run --image=docker.io/pietheinstrengholt/laravel-docker-k8s:v1 laravel-docker-k8s --port=8181 --env="DOMAIN=cluster"