Merge pull request #556 from paulzim/master

Updated architecture graphic in MEANstack tutorial
This commit is contained in:
johndmulhausen 2016-05-22 15:12:28 -07:00
commit ab450e1693
3 changed files with 14 additions and 10 deletions

View File

@ -3,7 +3,7 @@
**By: Sandeep Dinesh** - _July 29, 2015_
![image](/images/docs/meanstack/image_0.png)
![image](/images/docs/meanstack/image_0.png)
In [a recent post](http://blog.sandeepdinesh.com/2015/07/running-mean-web-application-in-docker.html), I talked about running a MEAN stack with [Docker Containers.](http://docker.com/)
@ -14,7 +14,7 @@ Thankfully, there is a system we can use to manage our containers in a cluster e
* TOC
{:toc}
## The Basics of Using Kubernetes
## The Basics of Using Kubernetes
Before we jump in and start kubeing it up, its important to understand some of the fundamentals of Kubernetes.
@ -34,7 +34,7 @@ Instead, you have to build a custom container that has the code already inside i
To do this, you need to use more Docker. Make sure you have the latest version installed for the rest of this tutorial.
Getting the code:
Getting the code:
Before starting, lets get some code to run. You can follow along on your personal machine or a Linux VM in the cloud. I recommend using Linux or a Linux VM; running Docker on Mac and Windows is outside the scope of this tutorial.
@ -72,7 +72,7 @@ Then, it creates a folder to store the code, `cd`s into that directory, copies t
Finally, it specifies the command Docker should run when the container starts, which is to start the app.
## Step 2: Building our Container
## Step 2: Building our Container
Right now, the directory should look like this:
@ -410,11 +410,11 @@ web-controller-xxxx 1/1 Running 0 1m
## Step 9: Accessing the App
At this point, everything is up and running. The architecture looks something like this:
At this point, everything is up and running. The architecture looks something like this:
![image](/images/docs/meanstack/image_5.png)
![image](/images/docs/meanstack/MEANstack_architecture.svg){: style="max-width:25%"}
By default, port 80 should be open on the load balancer. In order to find the IP address of our app, run this command:
By default, port 80 should be open on the load balancer. In order to find the IP address of our app, run this command:
```shell
$ gcloud compute forwarding-rules list

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -3,7 +3,7 @@ title: Accelerate Your Delivery
---
<!Doctype html>
<html id="home">
<html id="home">
{% include head-header.html %}
@ -11,7 +11,7 @@ title: Accelerate Your Delivery
<section id="hero" class="light-text">
<main>
<div id="headlineWrapper">
<h1>Accelerate Your Delivery</h1>
<h1>Accelerate Your Delivery Area</h1>
<h5>Manage an infrastructure cluster as a single system to simplify container operations.</h5>
</div>
<a href="/docs/hellonode/" id="quickstartButton" class="button">Try Our Hello World</a>
@ -22,7 +22,7 @@ title: Accelerate Your Delivery
<!--<img src="images/logos/redhat_logo.png">-->
<!--<img src="images/logos/wepay_logo.png">-->
<!--<img src="images/logos/verizon_logo.png">-->
<!--</div>-->
<!--</div>-->
</section>
<!-- OCEAN NODES -->