#!/bin/sh -eu # vim: ts=4 et: [ -z "$DEBUG" ] || [ "$DEBUG" = 0 ] || set -x SETUP=/tmp/setup.d TARGET=/mnt KUBE_VERSION=1.24 AWS_IAM_VERSION=0.5.9 apk -U --root "$TARGET" --no-cache add \ cri-tools@kubezero \ cri-o@kubezero=~$KUBE_VERSION \ kubelet@kubezero=~$KUBE_VERSION \ kubectl@kubezero=~$KUBE_VERSION \ ecr-credential-provider@kubezero=~$KUBE_VERSION \ aws-iam-authenticator@kubezero=~$AWS_IAM_VERSION # Only install custom kernel modules for X86_64 if [ "$ARCH" == "x86_64" ]; then apk -U --root "$TARGET" --no-cache add \ aws-neuron-driver@kubezero \ nvidia-open-gpu@kubezero fi # Pre-load container images # echo 'Pre-loaded Kubernetes control container images' printf '\n\n# Zero Down Time config applied'