feat: switch root volumes to gp3, add eudev, ...

This commit is contained in:
Stefan Reimer 2022-09-07 17:24:55 +02:00
parent 4821afb8e3
commit fbbe944240
9 changed files with 23 additions and 13 deletions

View File

@ -192,7 +192,7 @@ class AWSCloudAdapter(CloudAdapterInterface):
Architecture=self.ARCH[ic.arch], Architecture=self.ARCH[ic.arch],
BlockDeviceMappings=[{ BlockDeviceMappings=[{
'DeviceName': '/dev/xvda', 'DeviceName': '/dev/xvda',
'Ebs': {'SnapshotId': snapshot_id} 'Ebs': {'SnapshotId': snapshot_id, 'VolumeType': 'gp3'}
}], }],
Description=description, Description=description,
EnaSupport=True, EnaSupport=True,

View File

@ -5,8 +5,8 @@ echo "Are you really sure as AMIs might be used by customers !!"
read read
#TAG_FILTER="Name=tag:project,Values=zdt-alpine" #TAG_FILTER="Name=tag:project,Values=zdt-alpine"
TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-minimal-r1" #TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.0-x86_64-bios-tiny-minimal-r0"
#TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-kubezero-1.23.10-r0" TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-kubezero-1.23.10-r1"
#for r in $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text); do #for r in $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text); do
for r in ap-southeast-2 ca-central-1 eu-central-1 us-east-1 us-west-1 us-west-2; do for r in ap-southeast-2 ca-central-1 eu-central-1 us-east-1 us-west-1 us-west-2; do

Binary file not shown.

View File

@ -1,4 +1,5 @@
bash = true bash = true
eudev = true
jq = true jq = true
yq = true yq = true
logrotate = true logrotate = true
@ -13,10 +14,12 @@ nvme-cli = true
xfsprogs = true xfsprogs = true
dhclient = true dhclient = true
monit = true monit = true
tiny-cloud = main-edge busybox-extras = true
tiny-cloud-openrc = main-edge tcpdump = true
tiny-cloud-network = main-edge tiny-cloud = edge-main
tiny-cloud-aws = main-edge tiny-cloud-openrc = edge-main
conmon = community-edge tiny-cloud-network = edge-main
prometheus-node-exporter = true tiny-cloud-aws = edge-main
prometheus-wireguard-exporter = true conmon = edge-community
prometheus-node-exporter = true
prometheus-wireguard-exporter = true

View File

@ -1,5 +1,6 @@
sysinit { sysinit {
cgroups = true cgroups = true
udev = true
} }
boot { boot {

View File

@ -5,8 +5,8 @@ packages { include required("common-packages.conf") }
services { include required("common-services.conf") } services { include required("common-services.conf") }
repos { repos {
"https://dl-cdn.alpinelinux.org/alpine/edge/main" = main-edge "https://dl-cdn.alpinelinux.org/alpine/edge/main" = edge-main
"https://dl-cdn.alpinelinux.org/alpine/edge/community" = community-edge "https://dl-cdn.alpinelinux.org/alpine/edge/community" = edge-community
} }
WHEN { WHEN {

View File

@ -2,9 +2,11 @@
include required("common.conf") include required("common.conf")
packages { include required("kubezero-packages.conf") }
description = [ "- https://kubezero.com" ] description = [ "- https://kubezero.com" ]
name = [ kubezero-1.23.10 ] name = [ kubezero-1.23.10 ]
size = 2G # size = 2G
WHEN { WHEN {
kubezero { kubezero {

View File

@ -4,3 +4,7 @@ include required("common.conf")
description = [ "- https://zero-downtime.net/cloud" ] description = [ "- https://zero-downtime.net/cloud" ]
name = [ minimal ] name = [ minimal ]
#kernel_options {
# "lsm=landlock,lockdown,yama,loadpin,safesetid,integrity,apparmor" = true
#}