Add bonus section for if I have time.

This commit is contained in:
2022-11-10 14:00:24 +13:00
parent 3ca5d88ef0
commit 07fc784ee0

View File

@ -80,10 +80,6 @@ Let's test our new tunnel by disconnecting from the tmate session and connecting
#+NAME: Reconnect via cloudflared
#+begin_src tmate :socket /tmp/james.tmate.tmate
# Exit the current tmate session
exit
# Connect via cloudflared
ssh -o ProxyCommand="cloudflared access ssh --hostname %h" mobian@phone.jamma.dev
#+end_src
@ -111,3 +107,15 @@ sudo kubectl get nodes
sudo kubectl get pods -A
#+end_src
* Bonus - deploying a workload
With out cluster deployed, let's have some fun!
#+NAME: Deploying a workload
#+begin_src :socket /tmp/james.tmate.tmate
sudo kubectl apply -f doom.yaml
sudo kubectl expose deployment kubedoom -n kubedoom --type NodePort
#+end_src