-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
froscon-2024: add presentation and booth loop
Signed-off-by: Thilo Fromm <[email protected]>
- Loading branch information
Showing
8 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
image/ |
Binary file added
BIN
+3.59 MB
froscon-2024/Day 2 Ops - Linux for Kubernetes and Container Workloads.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
variant: flatcar | ||
version: 1.0.0 | ||
|
||
storage: | ||
files: | ||
- path: /opt/extensions/kubernetes/kubernetes.raw | ||
mode: 0644 | ||
contents: | ||
source: https://github.com/flatcar/sysext-bakery/releases/download/latest/kubernetes-v1.30.3-x86-64.raw | ||
- path: /etc/flatcar/update.conf | ||
overwrite: true | ||
contents: | ||
inline: | | ||
REBOOT_STRATEGY=off | ||
mode: 0420 | ||
links: | ||
- target: /opt/extensions/kubernetes/kubernetes.raw | ||
path: /etc/extensions/kubernetes.raw | ||
hard: false | ||
|
||
systemd: | ||
units: | ||
- name: update-engine.service | ||
mask: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
cat "$1" \ | ||
| docker run --rm \ | ||
-v "$(pwd)":/files \ | ||
-i quay.io/coreos/butane:latest \ | ||
--files-dir /files \ | ||
>"${1/.yaml/.json}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
variant: flatcar | ||
version: 1.0.0 | ||
|
||
passwd: | ||
users: | ||
- name: caddy | ||
no_create_home: true | ||
groups: [ docker ] | ||
|
||
storage: | ||
files: | ||
- path: /srv/www/html/index.html | ||
mode: 0644 | ||
user: | ||
name: caddy | ||
group: | ||
name: caddy | ||
contents: | ||
inline: | | ||
<html><body align="center"> | ||
<h1>Hallo, FrOSCon!</h1> | ||
<img src="froscon.png" alt="FrOSCon logo" /> | ||
</body></html> | ||
- path: /srv/www/html/froscon.png | ||
mode: 0644 | ||
user: | ||
name: caddy | ||
group: | ||
name: caddy | ||
contents: | ||
local: froscon_logo_print_color.png | ||
|
||
systemd: | ||
units: | ||
- name: froscon-demo-webserver.service | ||
enabled: true | ||
contents: | | ||
[Unit] | ||
Description=FrOSCon example static web server | ||
After=docker.service | ||
Requires=docker.service | ||
[Service] | ||
User=caddy | ||
TimeoutStartSec=0 | ||
ExecStartPre=-/usr/bin/docker rm --force caddy | ||
ExecStart=docker run -i -p 80:80 --name caddy \ | ||
-v /srv/www/html:/usr/share/caddy \ | ||
docker.io/caddy caddy file-server \ | ||
--root /usr/share/caddy --access-log | ||
ExecStop=/usr/bin/docker stop caddy | ||
Restart=always | ||
RestartSec=5s | ||
[Install] | ||
WantedBy=multi-user.target | ||
# Disable automated updates so we can demo a manual update | ||
- name: update-engine.service | ||
mask: true | ||
- name: locksmithd.service | ||
mask: true | ||
|