From 6f4e08e34f819c22cf7355ee446830cf14ab95dd Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Wed, 16 Oct 2019 08:54:20 -0500 Subject: [PATCH] tweaks --- slides/kube.yml | 1 + slides/shared/prereqs.md | 122 ++------------------------------------- 2 files changed, 5 insertions(+), 118 deletions(-) diff --git a/slides/kube.yml b/slides/kube.yml index 4651e3b4..f4aac475 100644 --- a/slides/kube.yml +++ b/slides/kube.yml @@ -16,6 +16,7 @@ exclude: chapters: - shared/title.md +- shared/toc.md - # DAY 1 - shared/prereqs.md - shared/connecting.md diff --git a/slides/shared/prereqs.md b/slides/shared/prereqs.md index 9daca01a..4913a5c2 100644 --- a/slides/shared/prereqs.md +++ b/slides/shared/prereqs.md @@ -48,124 +48,10 @@ Misattributed to Benjamin Franklin - This is the stuff you're supposed to do! -- Go to @@SLIDES@@ to view these slides - -- Join the chat room: @@CHAT@@ - - +- The following command should work and show us at least one node: + ```bash + kubectl get nodes + ``` ] ---- - -class: in-person - -## Where are we going to run our containers? - ---- - -class: in-person, pic - -![You get a cluster](images/you-get-a-cluster.jpg) - ---- - -class: in-person - -## You get a cluster of cloud VMs - -- Each person gets a private cluster of cloud VMs (not shared with anybody else) - -- They'll remain up for the duration of the workshop - -- You should have a little card with login+password+IP addresses - -- You can automatically SSH from one VM to another - -- The nodes have aliases: `node1`, `node2`, etc. - ---- - -class: in-person - -## Why don't we run containers locally? - -- Installing this stuff can be hard on some machines - - (32 bits CPU or OS... Laptops without administrator access... etc.) - -- *"The whole team downloaded all these container images from the WiFi! -
... and it went great!"* (Literally no-one ever) - -- All you need is a computer (or even a phone or tablet!), with: - - - an internet connection - - - a web browser - - - an SSH client - ---- - -class: in-person - -## SSH clients - -- On Linux, OS X, FreeBSD... you are probably all set - -- On Windows, get one of these: - - - [putty](http://www.putty.org/) - - Microsoft [Win32 OpenSSH](https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH) - - [Git BASH](https://git-for-windows.github.io/) - - [MobaXterm](http://mobaxterm.mobatek.net/) - -- On Android, [JuiceSSH](https://juicessh.com/) - ([Play Store](https://play.google.com/store/apps/details?id=com.sonelli.juicessh)) - works pretty well - -- Nice-to-have: [Mosh](https://mosh.org/) instead of SSH, if your internet connection tends to lose packets - ---- - -class: in-person, extra-details - -## What is this Mosh thing? - -*You don't have to use Mosh or even know about it to follow along. -
-We're just telling you about it because some of us think it's cool!* - -- Mosh is "the mobile shell" - -- It is essentially SSH over UDP, with roaming features - -- It retransmits packets quickly, so it works great even on lossy connections - - (Like hotel or conference WiFi) - -- It has intelligent local echo, so it works great even in high-latency connections - - (Like hotel or conference WiFi) - -- It supports transparent roaming when your client IP address changes - - (Like when you hop from hotel to conference WiFi) - ---- - -class: in-person, extra-details - -## Using Mosh - -- To install it: `(apt|yum|brew) install mosh` - -- It has been pre-installed on the VMs that we are using - -- To connect to a remote machine: `mosh user@host` - - (It is going to establish an SSH connection, then hand off to UDP) - -- It requires UDP ports to be open - - (By default, it uses a UDP port between 60000 and 61000)