This repository is End of Life that this software is no longer supported nor maintained by Packet or its community.
To run Flatcar Linux on Packet, there are two methods; iPXE booting Flatcar Linux using Packet's custom iPXE boot option for a new installation, or upgrading from Container Linux (formerly CoreOS), which is the method used here.
This project provisions Packet devices, and performs an in-place upgrade from Container Linux to Flatcar Linux.
The only required variable is auth_token
, your API token for Packet.com, and count
(the number of servers to provision and configure). Once provided, you can plan and apply this deployment:
terraform init
terraform plan
terraform apply
Beyond the options provided by the Packet Terraform provider, you have the option of pre-installing tools required by Kubernetes to prepare the nodes for creating a cluster, in this case CNI plugins, container runtime, and the kubeadm
package.
To enable this, set the install_kube_tools
variable to "yes"
, otherwise, this is not installed by default (if you wish to use Flatcar Linux as is, or if you prefer another Kubernetes bootstrapping method, etc.).