diff --git a/og-image.png b/og-image.png index 8a069af..5539480 100644 Binary files a/og-image.png and b/og-image.png differ diff --git a/pages/config-slide.md b/pages/config-slide.md index c0add75..681edb1 100644 --- a/pages/config-slide.md +++ b/pages/config-slide.md @@ -4,10 +4,19 @@ level: 2 # Configuration -Configuration is based on a list of simple JSON objects. +Configuration is based on a simple list of JSON objects. ````md magic-move {lines: true} -```js {1,12|2-10} + +```js {1-4} +[ + {}, + {} +] +``` + + +```js {2-10} [ { "name": "...", @@ -62,3 +71,26 @@ Configuration is based on a list of simple JSON objects. ``` ```` + + \ No newline at end of file diff --git a/pages/diagram.md b/pages/diagram.md index 2c4523e..808719e 100644 --- a/pages/diagram.md +++ b/pages/diagram.md @@ -4,6 +4,7 @@ level: 2 # MVK +The **V** in MVK is for *viable*, so why is MVK viable ?
@@ -15,12 +16,12 @@ flowchart LR LH[Longhorn] ING[Ingress] TRA[Traefik] - CM[cert-manager] + MET[Metallb] ETCD[etcd] KA[keepalived] root --> PS --> LH - root --> ING --> TRA --> CM + root --> ING --> TRA --> MET root --> ETCD --> KA classDef default fill:transparent,color:#fff,stroke:#888 @@ -35,3 +36,23 @@ We have in the build so far etcd and keepalived there is still no persistent volume management or ingress
+ + \ No newline at end of file diff --git a/pages/infctl-summary.md b/pages/infctl-summary.md index 82c6405..f685044 100644 --- a/pages/infctl-summary.md +++ b/pages/infctl-summary.md @@ -29,11 +29,5 @@ Check out [https://codeberg.org/headshed/infctl-cli](https://codeberg.org/headsh diff --git a/pages/ingress-test.md b/pages/ingress-test.md new file mode 100644 index 0000000..c8fc885 --- /dev/null +++ b/pages/ingress-test.md @@ -0,0 +1,53 @@ +--- +level: 2 +--- + +# Ingress test + +... with Vagrant + + +````md magic-move {lines: true} + +```bash {1|2|3|4|5} +vagrant ssh workstation +cd /vagrant/certs/ +bash secret.sh +bash copy_secret_to_default.sh +cd $HOME +``` + + +```bash {1|2|3|4} +cd k8s/nginx-test +kubectl apply -f deployment.yaml +kubectl apply -f service.yaml +kubectl apply -f ingress.yaml +``` + +```` +
+ +Lets see an install of metallb and traefic ingress in a [Demo](http://ascii.headshed.dev/a/NwWLIm29tu2eU5Ah7H4GyU6Vg) + +
+ + +
+ +The creation of a valid certificate is handled by [mkcert](https://github.com/FiloSottile/mkcert) + +And our workstation already has [dnsmasq](https://thekelleys.org.uk/dnsmasq/doc.html) installed acting as a forwarding DNS and serving the address of our test domain `headshed.it` from earlier + +
+ + + \ No newline at end of file diff --git a/pages/ingress.md b/pages/ingress.md new file mode 100644 index 0000000..37ee6f9 --- /dev/null +++ b/pages/ingress.md @@ -0,0 +1,38 @@ +--- +level: 2 +--- + +# Ingress + +... with Vagrant + + +````md magic-move {lines: true} + +```bash {1|2|3} +vagrant ssh workstation +infctl -f pipelines/vagrant-metallb.json +infctl -f pipelines/vagrant-ingress.json +``` + + + + + +```` +
+ +Lets see an install of metallb and traefic ingress in a [Demo](https://ascii.headshed.dev/a/lLlJj9Mscia6rPXrp1wB9fBna) + +
+ + + \ No newline at end of file diff --git a/pages/intro-slide.md b/pages/intro-slide.md index 944fc42..34f1647 100644 --- a/pages/intro-slide.md +++ b/pages/intro-slide.md @@ -1,22 +1,30 @@ -# What is Minimal Viable Kubernetes? +# Minimal Viable Kubernetes? -MVK is kubernetes for the impatient and impeverished, and consists the following features +What is MVK ? -- โ‰ฅ **CLI** - Living in the terminal, uses [`infctl`](https://mvk.headshed.dev/guides/intro/) command line pipeline -- ๐Ÿง‘โ€๐Ÿ’ป **Startup Friendly** - Getting a functional stack quickly and simply -- ๐Ÿคน **Automated** - Focus on an infrastructure as code -- ๐ŸŽฅ **Repeatable** - Repeatable, re-useable and predictable. -- ๐Ÿ“ค **Portable** - Kubernetes that can run anywhere -- ๐Ÿ›  **Hackable** - Simple to modify, extend and prototype -
-
+โ‰ฅ **CLI first** uses [`infctl`](https://mvk.headshed.dev/infctl/quick-start/) + +๐Ÿง‘โ€๐Ÿ’ป **Startup Ready** functional simply + +๐Ÿคน **Automated** infrastructure as code + +๐ŸŽฅ **Repeatable** re-useable and predictable. + +๐Ÿ“ค **Portable** kubernetes that can run anywhere + +๐Ÿ›  **Hackable** simple to modify & extend -
+ \ No newline at end of file diff --git a/pages/plugins-slide.md b/pages/plugins-slide.md index c732e68..f192461 100644 --- a/pages/plugins-slide.md +++ b/pages/plugins-slide.md @@ -2,9 +2,9 @@ level: 2 --- -# Plugins +# RunCommand plugins -Plugins are any script or executable that print output and exit with a number. +Plugins are any script or executable that print output and exit with a system code of 0 (OK) or greater (error). ````md magic-move {lines: true} ```bash @@ -28,3 +28,21 @@ exit 1 ```` + + \ No newline at end of file diff --git a/pages/run-slide.md b/pages/run-slide.md index affbab6..b6c1253 100644 --- a/pages/run-slide.md +++ b/pages/run-slide.md @@ -2,9 +2,10 @@ level: 2 --- -# RUN +# Getting Started + +... with Vagrant -So what does `infctl` look like then ... ````md magic-move {lines: true} @@ -57,7 +58,7 @@ infctl -f pipelines/dev/vagrant-k3s.json ````
-Here is a [Demo](http://ascii.headshed.dev/a/ISIOKVA1AmckG2muwOMUOG4z5) +Lets see what this looks like for real in a [Demo](http://ascii.headshed.dev/a/ISIOKVA1AmckG2muwOMUOG4z5)
@@ -66,3 +67,32 @@ Here is a [Demo](http://ascii.headshed.dev/a/ISIOKVA1AmckG2muwOMUOG4z5) Lets [try again](http://ascii.headshed.dev/a/bUzNNojNjkxytfDT6cRqhSVwN)
+ + + \ No newline at end of file diff --git a/pages/storage.md b/pages/storage.md new file mode 100644 index 0000000..e6adb84 --- /dev/null +++ b/pages/storage.md @@ -0,0 +1,47 @@ +--- +level: 2 +--- + +# Storage + +... with Vagrant + + +````md magic-move {lines: true} + + +```bash +cd infctl-cli/vagrant/dev/ubuntu +pwd +/home/user/projects/infctl-cli/vagrant/dev/ubuntu +``` + +```bash +vagrant ssh workstation +``` + +```bash +export LOG_FORMAT=none + +infctl -f pipelines/vagrant-longhorn.json +... +``` + + + +```` +
+ +Lets see a longhorn install [Demo](https://ascii.headshed.dev/a/qslfF9KTMj69zcSwzD6xm1uZ7) + +
+ + + + \ No newline at end of file diff --git a/pages/usage-slide.md b/pages/usage-slide.md index 1f66e31..1d3c5ca 100644 --- a/pages/usage-slide.md +++ b/pages/usage-slide.md @@ -2,7 +2,7 @@ level: 2 --- -# USAGE +# Usage `infctl` has a single, compulsory parameter `[-f|--deployment-file]` and an optional environment variable `LOG_FORMAT` which may be ["none"|"basic"|""] @@ -49,3 +49,21 @@ infctl -f pipelines/dev/vagrant-k3s.json ```` + + \ No newline at end of file diff --git a/public/containers.png b/public/containers.png new file mode 100644 index 0000000..e51b7b5 Binary files /dev/null and b/public/containers.png differ diff --git a/public/containers.webp b/public/containers.webp new file mode 100644 index 0000000..938eedd Binary files /dev/null and b/public/containers.webp differ diff --git a/public/containers3.png b/public/containers3.png new file mode 100644 index 0000000..5cc3387 Binary files /dev/null and b/public/containers3.png differ diff --git a/public/containers3.webp b/public/containers3.webp new file mode 100644 index 0000000..a7df487 Binary files /dev/null and b/public/containers3.webp differ diff --git a/infctl.png b/public/infctl.png similarity index 100% rename from infctl.png rename to public/infctl.png diff --git a/n25-qr.png b/public/n25-qr.png similarity index 100% rename from n25-qr.png rename to public/n25-qr.png diff --git a/public/og-image.png b/public/og-image.png new file mode 100644 index 0000000..8a069af Binary files /dev/null and b/public/og-image.png differ diff --git a/slides.md b/slides.md index a13c3bc..0cfc78c 100644 --- a/slides.md +++ b/slides.md @@ -3,7 +3,11 @@ theme: seriph # random image from a curated Unsplash collection by Anthony # like them? see https://unsplash.com/collections/94734566/slidev -background: https://cover.sli.dev +# background: https://cover.sli.dev +# background: https://cdn.jsdelivr.net/gh/slidevjs/slidev-covers@main/static/mYBMP8pW4uQ.webp +# background: https://cdn.jsdelivr.net/gh/slidevjs/slidev-covers@main/static/zRkBOOpKRhs.webp +# background: https://cdn.jsdelivr.net/gh/slidevjs/slidev-covers@main/static/3XXSKa4jKaM.webp +background: containers.webp # some information about your slides (markdown enabled) title: Minimal Viable Kubernetes info: | @@ -30,7 +34,7 @@ seoMeta: # Minimal Viable Kubernetes -Kubernetes for the impatient and impoverished +Kubernetes for the impatient and pragmatic Jon Brookes 2025 @@ -49,11 +53,16 @@ Jon Brookes 2025 + +preload + --- +layout: image-right +image: containers3.png transition: fade-out src: ./pages/intro-slide.md --- @@ -75,10 +84,6 @@ h1 { } - - --- src: ./pages/config-slide.md --- @@ -104,6 +109,23 @@ transition: fade-out src: ./pages/diagram.md --- + +--- +transition: fade-out +src: ./pages/storage.md +--- + +--- +transition: fade-out +src: ./pages/ingress.md +--- + +--- +transition: fade-out +src: ./pages/ingress-test.md +--- + + --- transition: fade-out src: ./pages/infctl-summary.md