Skip to content

Commit

Permalink
adds PIAT todos and link to slide deck
Browse files Browse the repository at this point in the history
  • Loading branch information
mhausenblas committed Oct 12, 2015
1 parent 21fc7d5 commit 41a606a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Training session at [Velocity NYC, 2015](http://velocityconf.com/devops-web-perf
1. [Kubernetes](./kubernetes)
1. [Putting It All Together](./piat)

Once you've signed up for a team, check out the [training coordination page](http://j.mp/velocity-2015-container-training).
Once you've signed up for a team, check out the [training coordination page](http://j.mp/velocity-2015-container-training) and see also the [slide deck](https://speakerdeck.com/mhausenblas/marathon-and-kubernetes) for more information.

Then, install the [DCOS CLI](https://docs.mesosphere.com/install/cli/) and clone this repo in the directory where you've installed the CLI. For example, I've installed the CLI into `~/sandbox/dcos/ccm/dcos` hence I would do the following:

Expand Down
6 changes: 6 additions & 0 deletions piat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ Change the value of `ip-10-0-0-202.eu-west-1.compute.internal` to whatever the F
$ kubectl delete service nginx-service
$ kubectl delete pod nginx

Todo:

- to discovery the internal IP, do `kubectl get endpoints`
- ssh into agent where K8S has scheduled the pod and do `hostname`
- to view content on local browser, do `ssh -D 6996 -A [email protected]` and configure SOCKS proxy

## Further resources

- https://mesosphere.com/blog/2015/06/21/web-application-analytics-using-docker-and-marathon/
Expand Down
4 changes: 2 additions & 2 deletions piat/marathon-gen.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "generator",
"instances": 1,
"instances": 3,
"mem": 32.0,
"cmd": "chmod u+x gen.sh ; [ ! -d /tmp/gen ] && mkdir -p /tmp/gen ; ./gen.sh /tmp/gen/index.html",
"cpus": 0.5,
Expand All @@ -11,7 +11,7 @@
[
"hostname",
"LIKE",
"ip-10-0-0-202.eu-west-1.compute.internal"
"10.0.3.114"
]
]
}

0 comments on commit 41a606a

Please sign in to comment.