Skip to main content

Upload image

Oracle Cloud at the moment does not have a Talos official image. So you can use Bring Your Own Image (BYOI) approach. Once the image is uploaded, set the Boot volume type to Paravirtualized mode. 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:
At this point, you can modify the generated configs to your liking. Optionally, you can specify machine configuration patches which will be applied during the config generation.

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 configure talosctl we will need the first control plane node’s IP. This can be found by issuing:
Set the endpoints and nodes for your talosconfig with:
Bootstrap etcd on the first control plane node with:

Retrieve the kubeconfig

At this point we can retrieve the admin kubeconfig by running: