Last tweaks so that autopilot passes

This commit is contained in:
Jerome Petazzoni
2018-08-20 14:58:00 -05:00
parent 62686d0b7a
commit 23b3c1c05a
4 changed files with 8 additions and 3 deletions

View File

@@ -191,6 +191,7 @@ done
if which kubectl; then
kubectl get deploy,ds -o name | xargs -rn1 kubectl delete
kubectl get all -o name | grep -v service/kubernetes | xargs -rn1 kubectl delete --ignore-not-found=true
kubectl -n kube-system get deploy,svc -o name | grep -v dns | xargs -rn1 kubectl -n kube-system delete
fi
```
-->

View File

@@ -8,8 +8,9 @@
<!--
```bash
cd ~
if [ -d container.training ]; then
mv container.training container.training.$$
mv container.training container.training.$RANDOM
fi
```
-->

View File

@@ -131,7 +131,10 @@ Note: please DO NOT call the service `search`. It would collide with the TLD.
IP=$(kubectl get svc elastic -o go-template --template '{{ .spec.clusterIP }}')
```
<!-- ```hide kubectl wait deploy elastic --for condition=available``` -->
<!--
```hide kubectl wait deploy elastic --for condition=available```
```hide sleep 5``` (give some time for elasticsearch to start... hopefully this is enough!)
-->
- Send a few requests:
```bash

View File

@@ -47,7 +47,7 @@
.exercise[
- Run an open proxy to the Kubernetes API:
```bash
```
kubectl proxy --port=8888 --address=0.0.0.0 --accept-hosts=.*
```