Upload image
Oracle Cloud at the moment does not have a Talos official image. So you can use Bring Your Own Image (BYOI) approach. Prepare an image for upload:- Generate an image using Image Factory.
- Download the disk image artifact (e.g: Oracle arm64 )
-
Define the image metadata file called
image_metadata.json
. Example for anarm64
deployment: -
Extract the xz or zst archive:
-
Convert the image to a
qcow2
format (using qemu): -
Create an archive containing the image and metadata called
talos-oracle-arm64.oci
: - Upload the image to a storage bucket.
- Create an image, using the new URL format for the storage bucket object.
Note: file names depends on configuration of deployment such as architecture, adjust accordingly.
Talos config
OracleCloud has highly available NTP service, it can be enabled in Talos machine config with:Creating a Cluster via the CLI
Login to the console. And open the Cloud Shell.Create a network
Create a Load Balancer
Create a load balancer by issuing the commands shown below. Save the IP/DNS name, as this info will be used in the next step.Create the Machine Configuration Files
Generating Base Configurations
Using the IP/DNS name of the loadbalancer created earlier, generate the base configuration files for the Talos machines by issuing:Validate the Configuration Files
Validate any edited machine configs with:Create the Servers
Create the Control Plane Nodes
Create the control plane nodes with:Create the Worker Nodes
Create the worker nodes with the following command, repeating (and incrementing the name counter) as many times as desired.Bootstrap Etcd
To configuretalosctl
we will need the first control plane nodeβs IP.
This can be found by issuing:
endpoints
and nodes
for your talosconfig with:
etcd
on the first control plane node with:
Retrieve the kubeconfig
At this point we can retrieve the admin kubeconfig
by running: