Improve autotest system

This commit is contained in:
Jérôme Petazzoni
2017-10-25 17:49:30 +02:00
parent 68e0c8fca7
commit 40eab78186
8 changed files with 85 additions and 92 deletions

View File

@@ -91,6 +91,8 @@ The goo.gl URL expands to:
(You will have to work around the TLS certificate validation warning)
<!-- ```open https://node1:3xxxx/``` -->
]
- We have three authentication options at this point:

View File

@@ -69,6 +69,8 @@ The `LoadBalancer` type is currently only available on AWS, Azure, and GCE.
kubectl get pods -w
```
<!-- ```keys ^C``` -->
]
The `-w` option "watches" events happening on the specified resources.

View File

@@ -10,6 +10,8 @@
kubectl get deployments -w
```
<!-- ```keys ^C``` -->
- Now, create more `worker` replicas:
```bash
kubectl scale deploy/worker --replicas=10

View File

@@ -348,6 +348,8 @@ We should now see the `worker`, well, working happily.
- Open the web UI in your browser (http://node-ip-address:3xxxx/)
<!-- ```open http://node1:3xxxx/``` -->
]
--

View File

@@ -65,6 +65,8 @@ class: extra-details
- Go to [container.training](http://container.training/) to view these slides
- Join the chat room on @@CHAT@@
<!-- ```open http://container.training/``` -->
]
---
@@ -73,6 +75,12 @@ class: pic, in-person
![You get five VMs](you-get-five-vms.jpg)
<!--
```bash
kubectl get all -o name | grep -v services/kubernetes | xargs -n1 kubectl delete
```
-->
---
class: in-person
@@ -102,11 +110,7 @@ done
```
- Type `exit` or `^D` to come back to node1
<!--
```keys
exit
```
-->
<!-- ```keys exit``` -->
]

View File

@@ -79,6 +79,8 @@
kubectl get deployments -w
```
<!-- ```keys ^C``` -->
- Update `worker` either with `kubectl edit`, or by running:
```bash
kubectl set image deploy worker worker=$REGISTRY/worker:$TAG

View File

@@ -264,6 +264,8 @@ class: extra-details
- In your browser, you need to enter the IP address of your node
<!-- ```open http://node1:8000``` -->
]
You should see a speed of approximately 4 hashes/second.
@@ -316,9 +318,25 @@ class: extra-details
- run `top` to see CPU and memory usage (you should see idle cycles)
- run `vmstat 3` to see I/O usage (si/so/bi/bo)
<!--
```bash
top
```
```keys ^C```
-->
- run `vmstat 1` to see I/O usage (si/so/bi/bo)
<br/>(the 4 numbers should be almost zero, except `bo` for logging)
<!--
```bash
vmstat 1
```
```keys ^C```
-->
]
We have available resources.