---
# System prepended metadata

title: Beginner 2019/10/22

---

# Beginner 2019/10/22

## Links

* [Flightdeck](https://flightdeck.jetstack.io/invitation/eyJhbGciOiJBMTI4R0NNS1ciLCJlbmMiOiJBMTI4R0NNIiwiaXYiOiIxREdtb0l3UkI3N2ZJbklsIiwidGFnIjoiX1dSVm5uNmt2TkVvUXNfSUQ0Y1owQSJ9.EQBUGf90tVcQIKl6lBsllA._ootToOKFGISWiaI.I5C5cN0v57X9iEC3VkGZlDAFPLOZAIb2-DUVctX7zbRtcPPIyXeIUzRIksGUDyyoxTR_3A.1gZEGEkK_bmHHSxIYKNREw)
    * [Bitly](https://bit.ly/32BttoV)
* [HackMD](https://hackmd.io/@92eyYE91Q5S7UqjJZWWnnw/Hy12jEnFB/edit)
    * [Bitly](https://bit.ly/2BDcFSB)

## Questions

> Please add questions that you have during the workshop

* How do I add a question?
    * Just type it in below and we'll answer it :D

## References

> Links to references that are not within the course material

* [Kubectx / Kubens](https://github.com/ahmetb/kubectx)
    * A local client to switch between different contexts and namespaces

* TODO
    * https://get-kapp.io/
    * Kustomize
    * [Bash autocomplete](https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion)
    * GitOps
    * KubeCon US Videos

## Code

### Reset defaults in terminal session

```
gcloud config set project jetstack-lewis
gcloud config set compute/zone europe-west1-b
```

### Download `Attendee Resources`

```
curl -o k8s.zip -u beginner:k8sworkshop https://beginner.k8s.school/k8s.zip
unzip k8s.zip
rm -rf k8s.zip
```

### Autoscale cluster

```
gcloud container clusters update <<CLUSTER_NAME>> --enable-autoscaling --min-nodes=3 --max-nodes=7 --node-pool=default-pool
```

### Delete Cluster

```
gcloud container clusters delete rapha --async
```