first commit

This commit is contained in:
jon brookes 2025-08-13 15:48:45 +01:00
parent c884330ca9
commit dcc2f600ae
16 changed files with 9152 additions and 0 deletions

64
pages/config-slide.md Normal file
View file

@ -0,0 +1,64 @@
---
level: 2
---
# Configuration
Configuration is based on a list of simple JSON objects.
````md magic-move {lines: true}
```js {1,12|2-10}
[
{
"name": "...",
"function": "...",
"params": [
"..."
],
"retryCount": int,
"shouldAbort": true|false
},
{}
]
```
```js {2-10}
[
{
"name": "ensure infctl namespace exists",
"function": "k8sNamespaceExists",
"params": [
"infctl"
],
"retryCount": 0,
"shouldAbort": true
},
{}
]
```
```js
[
{
"name": "ensure infctl namespace exists",
"function": "k8sNamespaceExists",
"params": [
"infctl"
],
"retryCount": 0,
"shouldAbort": true
},
{
"name": "check operator"",
"function": "RunCommand",
"params": [
"./scripts/check__operator.sh"
],
"retryCount": 5,
"shouldAbort": true
}
]
```
````

27
pages/imported-slides.md Normal file
View file

@ -0,0 +1,27 @@
# Imported Slides
You can split your slides.md into multiple files and organize them as you want using the `src` attribute.
#### `slides.md`
```markdown
# Page 1
Page 2 from main entry.
---
## src: ./subpage.md
```
<br>
#### `subpage.md`
```markdown
# Page 2
Page 2 from another file.
```
[Learn more](https://sli.dev/guide/syntax.html#importing-slides)

39
pages/infctl-summary.md Normal file
View file

@ -0,0 +1,39 @@
# Alpha release
<div grid="~ cols-2 gap-4">
<div>
`infctl` is an early release.
treat is as 'Alpha'.
Its a sketch of ideas I've been working on for decades.
I'd like to share it as I code it and use it.
Open to ideas, comments, contribution and collaboration.
License: [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html)
Check out [https://codeberg.org/headshed/infctl-cli](https://codeberg.org/headshed/infctl-cli) for more.
</div>
<div>
<img src="/infctl.png">
</div>
</div>
<!--
Presenter note with **bold**, *italic*, and ~~striked~~ text.
Also, HTML elements are valid:
<div class="flex w-full">
<span style="flex-grow: 1;">Left content</span>
<span>Right content</span>
</div>
-->

22
pages/intro-slide.md Normal file
View file

@ -0,0 +1,22 @@
# What is Minimal Viable Kubernetes?
MVK is kubernetes for the impatient and impeverished, and consists the following features
- ≥ **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
<br>
<br>
<div mt-20 v-click>
See a [Demo that goes terribly wrong](http://ascii.headshed.dev/a/f8S5WqD7OyCzkTcoPZhCSnefX?t=30)
Then see [one that goes right](http://ascii.headshed.dev/a/jSYcC7p4pbkMdf1B07rQOiIa0?t=01:30)
</div>

30
pages/plugins-slide.md Normal file
View file

@ -0,0 +1,30 @@
---
level: 2
---
# Plugins
Plugins are any script or executable that print output and exit with a number.
````md magic-move {lines: true}
```bash
#!/usr/bin/env bash
echo "HI THERE..."
exit 0
```
```bash
#!/usr/bin/env bash
# do some work...
sleep 10
echo "call the president..."
exit 1
```
````