talosctl
talosctl
is the command line tool for managing Talos Linux via the management API, but when machines connect to Omni it is not required. Instead cluster management is done via the Omni UI or omnictl
. We still recommend installing talosctl
to investigate the state of the nodes and explore functionality.
Download talosctl
, kubectl
, kubectl-oidc_login
, and omnictl
(macOS and Linux):
~/.talos/config
and ~/.config/omni/config/
respectively.
available
tag. They will also have tags showing their architecture, memory, cores and other information.
CP
. You will want an odd number of control plane nodes (e.g. 1, 3, 5). Select one machine to be a worker, by clicking W0
next to the machine.
Then click Create Cluster
. Your cluster is now being created, and you will be taken to the Cluster Overview page. From this page you can download the kubeconfig
and talosconfig
files for your cluster, by clicking the buttons on the right hand side.
Please note that because Omni manages the state of the Talos nodes, and protects the security of the Kubernetes and Talos credentials. Because of this, sometalosctl
commands (such astalosctl reset
) will returnPermissionDenied
on Omni managed clusters - such operations must be done through the Omni UI or API calls.
Note: you will have to change the referenced kubeconfig file depending on the name of the cluster you created.The first time you use the
kubectl
command to query a cluster, a browser window will open requiring you to authenticate with your identity provider (Google or GitHub most commonly.) If you get a message error: unknown command "oidc-login" for "kubectl" Unable to connect to the server:
then you need to install the oidc-login plugin as noted above.
talosconfig
file for the cluster includes the Omni endpoint, so you do not need to specify endpoints, just nodes.
You will need to change the name of thetalosconfig
file, if you changed the cluster name from the default; and also use the actual IP or name of the nodes you created (which are shown in Omni) in place of thenode
IP.
Note that because Omni manages the state of the Talos nodes, and protects the security of the Kubernetes and Talos credentials, sometalosctl
commands (such astalosctl reset
) will returnPermissionDenied
on Omni managed clusters - such operations must be done through the Omni UI or API calls.
omni
directory to a git repository that can be accessed by the cluster you create. Update the ArgoCD ApplicationSet template to reference your new git repo, and regenerate the ArgoCD bootstrap patch.
omni-contrib-controlplane
, and all instances that match a machine class called omni-contrib-workers
. You can modify these settings in the cluster-template.yaml, but keep in mind that for Rook/Ceph to work you will need to use at least 3 instances with additional block devices for storage.
Once machines are registered you can create the cluster using the cluster template in the infra
directory.