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],
BlockDeviceMappings=[{
'DeviceName': '/dev/xvda',
'Ebs': {'SnapshotId': snapshot_id}
'Ebs': {'SnapshotId': snapshot_id, 'VolumeType': 'gp3'}
}],
Description=description,
EnaSupport=True,

View File

@ -5,8 +5,8 @@ echo "Are you really sure as AMIs might be used by customers !!"
read
#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.2-x86_64-bios-tiny-kubezero-1.23.10-r0"
#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-r1"
#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

Binary file not shown.

View File

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

View File

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

View File

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

View File

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

View File

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