Kubezero v1.25, Alpine 3.17
This commit is contained in:
parent
7edeb62b28
commit
db52530017
4
Makefile
4
Makefile
|
@ -1,12 +1,12 @@
|
||||||
OVERLAY := $(shell pwd)/overlay
|
OVERLAY := $(shell pwd)/overlay
|
||||||
ONLY :=
|
ONLY :=
|
||||||
FILTER := --only 3.16 $(ONLY)
|
FILTER := --only 3.17 $(ONLY) --skip aarch64 metal
|
||||||
STEP := publish
|
STEP := publish
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
cd alpine-cloud-images && ./build $(STEP) --clean --no-pad-uefi-bins --revise $(FILTER) --custom $(OVERLAY)/zdt --vars $(OVERLAY)/zdt/zdt.hcl
|
cd alpine-cloud-images && ./build $(STEP) --clean --pad-uefi-bin-arch '' --revise $(FILTER) --custom $(OVERLAY)/zdt --vars $(OVERLAY)/zdt/zdt.hcl
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf alpine-cloud-images/work
|
rm -rf alpine-cloud-images/work
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -x
|
# set -x
|
||||||
|
|
||||||
echo "Are you really sure as AMIs might be used by customers !!"
|
TAG_FILTER="Name=tag:Name,Values=*-uefi-*kubezero*"
|
||||||
read
|
TAG_FILTER="Name=tag:Name,Values=*3.17*minimal*"
|
||||||
|
|
||||||
TAG_FILTER="Name=tag:Name,Values=*-uefi-*"
|
|
||||||
# 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-r0"
|
||||||
# TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-minimal-r2"
|
# TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.16.2-x86_64-bios-tiny-minimal-r2"
|
||||||
|
|
||||||
|
echo "Are you really sure to delete AMIs matching \"$TAG_FILTER\" ?"
|
||||||
|
read
|
||||||
|
|
||||||
#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 eu-central-1 us-west-2 ap-southeast-2 ca-central-1 us-east-1 us-west-1; do
|
for r in eu-central-1 us-west-2 ap-southeast-2 ca-central-1 us-east-1 us-west-1; do
|
||||||
amis=$(aws ec2 describe-images --region $r --owners self --output json --filters $TAG_FILTER | jq -r '.Images[].ImageId')
|
amis=$(aws ec2 describe-images --region $r --owners self --output json --filters $TAG_FILTER | jq -r '.Images[].ImageId')
|
||||||
|
|
|
@ -16,11 +16,14 @@ dhclient = true
|
||||||
busybox-extras = true
|
busybox-extras = true
|
||||||
tcpdump = true
|
tcpdump = true
|
||||||
uuidgen = true
|
uuidgen = true
|
||||||
tiny-cloud = edge-main
|
apparmor = true
|
||||||
tiny-cloud-openrc = edge-main
|
apparmor-utils = true
|
||||||
tiny-cloud-network = edge-main
|
apparmor-profiles = true
|
||||||
tiny-cloud-aws = edge-main
|
tiny-cloud = true
|
||||||
conmon = edge-community
|
tiny-cloud-openrc = true
|
||||||
|
tiny-cloud-network = true
|
||||||
|
tiny-cloud-aws = true
|
||||||
|
conmon = true
|
||||||
prometheus-node-exporter = true
|
prometheus-node-exporter = true
|
||||||
prometheus-wireguard-exporter = true
|
prometheus-wireguard-exporter = true
|
||||||
zdt-base = kubezero
|
zdt-base = kubezero
|
||||||
|
|
|
@ -4,14 +4,17 @@ sysinit {
|
||||||
}
|
}
|
||||||
|
|
||||||
boot {
|
boot {
|
||||||
|
cloudbender-early = true
|
||||||
|
localmount = true
|
||||||
syslog = null
|
syslog = null
|
||||||
syslog-ng = true
|
syslog-ng = true
|
||||||
zdt-mount = true
|
apparmor = true
|
||||||
}
|
}
|
||||||
|
|
||||||
default {
|
default {
|
||||||
|
cloudbender = true
|
||||||
local = true
|
local = true
|
||||||
crond = true
|
crond = true
|
||||||
# monit = true # We use init
|
|
||||||
node-exporter = true
|
node-exporter = true
|
||||||
|
# monit = true # We use inittab
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,11 @@ repos {
|
||||||
|
|
||||||
repos_keys = [ "https://cdn.zero-downtime.net/alpine/stefan@zero-downtime.net-61bb6bfb.rsa.pub" ]
|
repos_keys = [ "https://cdn.zero-downtime.net/alpine/stefan@zero-downtime.net-61bb6bfb.rsa.pub" ]
|
||||||
|
|
||||||
|
kernel_options {
|
||||||
|
"apparmor=1" = true
|
||||||
|
"security=apparmor" = true
|
||||||
|
}
|
||||||
|
|
||||||
WHEN {
|
WHEN {
|
||||||
aws {
|
aws {
|
||||||
packages {
|
packages {
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
cri-tools = kubezero
|
curl = true
|
||||||
cri-o = "kubezero=~1.24"
|
kubezero = "kubezero=~1.25"
|
||||||
kubelet = "kubezero=~1.24"
|
|
||||||
kubectl = "kubezero=~1.24"
|
|
||||||
ecr-credential-provider = "kubezero=~1.24"
|
|
||||||
aws-iam-authenticator = "kubezero=~0.5.9"
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
default {
|
||||||
|
# Until we migrate away from DS
|
||||||
|
node-exporter = null
|
||||||
|
}
|
|
@ -3,9 +3,10 @@
|
||||||
include required("common.conf")
|
include required("common.conf")
|
||||||
|
|
||||||
packages { include required("kubezero-packages.conf") }
|
packages { include required("kubezero-packages.conf") }
|
||||||
|
services { include required("kubezero-services.conf") }
|
||||||
|
|
||||||
description = [ "- https://kubezero.com" ]
|
description = [ "- https://kubezero.com" ]
|
||||||
name = [ kubezero-1.24.7 ]
|
name = [ kubezero-1.25.8 ]
|
||||||
# size = 2G
|
# size = 2G
|
||||||
|
|
||||||
WHEN {
|
WHEN {
|
||||||
|
|
|
@ -4,7 +4,3 @@ 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
|
|
||||||
#}
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ Default {
|
||||||
size = 1G
|
size = 1G
|
||||||
login = alpine
|
login = alpine
|
||||||
|
|
||||||
local_format = vhd
|
image_format = vhd
|
||||||
|
|
||||||
# image access
|
# image access
|
||||||
access.PUBLIC = false
|
access.PUBLIC = false
|
||||||
|
@ -30,13 +30,13 @@ Default {
|
||||||
# atm we only support:
|
# atm we only support:
|
||||||
# - tiny-cloud
|
# - tiny-cloud
|
||||||
# - uefi boot
|
# - uefi boot
|
||||||
# - latest stable Alpine 3.16
|
# - latest stable Alpine 3.17
|
||||||
|
|
||||||
Dimensions {
|
Dimensions {
|
||||||
version {
|
version {
|
||||||
"3.16" { include required("version/3.16.conf")
|
"3.17" { include required("version/3.17.conf")
|
||||||
repos {
|
repos {
|
||||||
"https://cdn.zero-downtime.net/alpine/v3.16/kubezero" = kubezero
|
"https://cdn.zero-downtime.net/alpine/v3.17/kubezero" = kubezero
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# edge { include required("version/edge.conf") }
|
# edge { include required("version/edge.conf") }
|
||||||
|
|
Loading…
Reference in New Issue