- Launch an Ubuntu 20 instance with 20GB boot disk size
sudo hostnamectl set-hostname kotsbox && sudo reboot- Add docker and the IP of the docker0 interface as the private address in your kurl spec
spec:
docker:
version: latest
kurl:
privateAddress: 172.17.0.1- For auto-upgrading Kubernetes and kURL add-ons, include ekco 0.8.0+ and with an upgrade schedule:
spec:
ekco:
version: latest
autoUpgradeSchedule: Sat 21:15
- Install kurl:
curl https://k8s.kurl.sh/my-app | sudo bash
apt install unattended-upgrades- Edit
/etc/apt/apt.conf.d/50unattended-upgradesand setUnattended-Upgrade::Automatic-Reboot "true";
- Stop the instance and create an Image from it
- Launch with 80GB storage and TCP ports 22, 6443, and 8800 open.
- SSH into the instance and run
kubectl kots reset-password default - On the instance run
sudo hostnamectl set-hostname kotsbox && sudo reboot - Point browser to port 8800 of instance IP and install kots application.