omnictl CLI
omnictl CLI tool reference.
omnictl apply
Create or update resource using YAML file as an input
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl cluster delete
Delete all cluster resources.
Synopsis
Delete all resources related to the cluster. The command waits for the cluster to be fully destroyed.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster - Cluster-related subcommands.
omnictl cluster kubernetes manifest-sync
Sync Kubernetes bootstrap manifests from Talos controlplane nodes to Kubernetes API.
Synopsis
Sync Kubernetes bootstrap manifests from Talos controlplane nodes to Kubernetes API. Bootstrap manifests might be updated with Talos version update, Kubernetes upgrade, and config patching. Talos never updates or deletes Kubernetes manifests, so this command fills the gap to keep manifests up-to-date.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster kubernetes - Cluster Kubernetes management subcommands.
omnictl cluster kubernetes upgrade-pre-checks
Run Kubernetes upgrade pre-checks for the cluster.
Synopsis
Verify that upgrading Kubernetes version is available for the cluster: version compatibility, deprecated APIs, etc.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster kubernetes - Cluster Kubernetes management subcommands.
omnictl cluster kubernetes
Cluster Kubernetes management subcommands.
Synopsis
Commands to render, validate, manage cluster templates.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster - Cluster-related subcommands.
omnictl cluster kubernetes manifest-sync - Sync Kubernetes bootstrap manifests from Talos controlplane nodes to Kubernetes API.
omnictl cluster kubernetes upgrade-pre-checks - Run Kubernetes upgrade pre-checks for the cluster.
omnictl cluster machine lock
Lock the machine
Synopsis
When locked, no config updates, upgrades and downgrades will be performed on the machine.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster machine - Machine related commands.
omnictl cluster machine unlock
Unlock the machine
Synopsis
Removes locked annotation from the machine.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster machine - Machine related commands.
omnictl cluster machine
Machine related commands.
Synopsis
Commands to manage cluster machines.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster - Cluster-related subcommands.
omnictl cluster machine lock - Lock the machine
omnictl cluster machine unlock - Unlock the machine
omnictl cluster status
Show cluster status, wait for the cluster to be ready.
Synopsis
Shows current cluster status, if the terminal supports it, watch the status as it updates. The command waits for the cluster to be ready by default.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster - Cluster-related subcommands.
omnictl cluster template delete
Delete all cluster template resources from Omni.
Synopsis
Delete all resources related to the cluster template. This command requires API access.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template diff
Show diff in resources if the template is synced.
Synopsis
Query existing resources for the cluster and compare them with the resources generated from the template. This command requires API access.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template export
Export a cluster template from an existing cluster on Omni.
Synopsis
Export a cluster template from an existing cluster on Omni. This command requires API access.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template render
Render a cluster template to a set of resources.
Synopsis
Validate template contents, convert to resources and output resources to stdout as YAML. This command is offline (doesn't access API).
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template status
Show template cluster status, wait for the cluster to be ready.
Synopsis
Shows current cluster status, if the terminal supports it, watch the status as it updates. The command waits for the cluster to be ready by default.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template sync
Apply template to the Omni.
Synopsis
Query existing resources for the cluster and compare them with the resources generated from the template, create/update/delete resources as needed. This command requires API access.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template validate
Validate a cluster template.
Synopsis
Validate that template contains valid structures, and there are no other warnings. This command is offline (doesn't access API).
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster template - Cluster template management subcommands.
omnictl cluster template
Cluster template management subcommands.
Synopsis
Commands to render, validate, manage cluster templates.
Options
Options inherited from parent commands
SEE ALSO
omnictl cluster - Cluster-related subcommands.
omnictl cluster template delete - Delete all cluster template resources from Omni.
omnictl cluster template diff - Show diff in resources if the template is synced.
omnictl cluster template export - Export a cluster template from an existing cluster on Omni.
omnictl cluster template render - Render a cluster template to a set of resources.
omnictl cluster template status - Show template cluster status, wait for the cluster to be ready.
omnictl cluster template sync - Apply template to the Omni.
omnictl cluster template validate - Validate a cluster template.
omnictl cluster
Cluster-related subcommands.
Synopsis
Commands to destroy clusters and manage cluster templates.
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl cluster delete - Delete all cluster resources.
omnictl cluster kubernetes - Cluster Kubernetes management subcommands.
omnictl cluster machine - Machine related commands.
omnictl cluster status - Show cluster status, wait for the cluster to be ready.
omnictl cluster template - Cluster template management subcommands.
omnictl completion bash
Generate the autocompletion script for bash
Synopsis
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.
To load completions in your current shell session:
To load completions for every new session, execute once:
Linux:
macOS:
You will need to start a new shell for this setup to take effect.
Options
Options inherited from parent commands
SEE ALSO
omnictl completion - Generate the autocompletion script for the specified shell
omnictl completion fish
Generate the autocompletion script for fish
Synopsis
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
To load completions for every new session, execute once:
You will need to start a new shell for this setup to take effect.
Options
Options inherited from parent commands
SEE ALSO
omnictl completion - Generate the autocompletion script for the specified shell
omnictl completion powershell
Generate the autocompletion script for powershell
Synopsis
Generate the autocompletion script for powershell.
To load completions in your current shell session:
To load completions for every new session, add the output of the above command to your powershell profile.
Options
Options inherited from parent commands
SEE ALSO
omnictl completion - Generate the autocompletion script for the specified shell
omnictl completion zsh
Generate the autocompletion script for zsh
Synopsis
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
To load completions in your current shell session:
To load completions for every new session, execute once:
Linux:
macOS:
You will need to start a new shell for this setup to take effect.
Options
Options inherited from parent commands
SEE ALSO
omnictl completion - Generate the autocompletion script for the specified shell
omnictl completion
Generate the autocompletion script for the specified shell
Synopsis
Generate the autocompletion script for omnictl for the specified shell. See each sub-command's help for details on how to use the generated script.
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl completion bash - Generate the autocompletion script for bash
omnictl completion fish - Generate the autocompletion script for fish
omnictl completion powershell - Generate the autocompletion script for powershell
omnictl completion zsh - Generate the autocompletion script for zsh
omnictl config add
Add a new context
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config context
Set the current context
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config contexts
List defined contexts
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config identity
Set the auth identity for the current context
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config info
Show information about the current context
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config merge
Merge additional contexts from another client configuration file
Synopsis
Contexts with the same name are renamed while merging configs.
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config new
Generate a new client configuration file
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config url
Set the URL for the current context
Options
Options inherited from parent commands
SEE ALSO
omnictl config - Manage the client configuration file (omniconfig)
omnictl config
Manage the client configuration file (omniconfig)
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl config add - Add a new context
omnictl config context - Set the current context
omnictl config contexts - List defined contexts
omnictl config identity - Set the auth identity for the current context
omnictl config info - Show information about the current context
omnictl config merge - Merge additional contexts from another client configuration file
omnictl config new - Generate a new client configuration file
omnictl config url - Set the URL for the current context
omnictl delete
Delete a specific resource by ID or all resources of the type.
Synopsis
Similar to 'kubectl delete', 'omnictl delete' initiates resource deletion and waits for the operation to complete.
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl download
Download installer media
Synopsis
This command downloads installer media from the server
It accepts one argument, which is the name of the image to download. Name can be one of the following:
To get the full list of available images, look at the output of the following command: omnictl get installationmedia -o yaml
The download command tries to match the passed string in this order:
By default it will download amd64 image if there are multiple images available for the same name.
For example, to download the latest ISO image for arm64, run:
To download the latest Vultr image, run:
To download the latest Radxa ROCK PI 4 image, run:
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl get
Get a specific resource or list of resources.
Synopsis
Similar to 'kubectl get', 'omnictl get' returns a set of resources from the OS. To get a list of all available resource definitions, issue 'omnictl get rd'
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl kubeconfig
Download the admin kubeconfig of a cluster
Synopsis
Download the admin kubeconfig of a cluster. If merge flag is defined, config will be merged with ~/.kube/config or [local-path] if specified. Otherwise kubeconfig will be written to PWD or [local-path] if specified.
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl machine-logs
Get logs for a machine
Synopsis
Get logs for a provided machine id
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl serviceaccount create
Create a service account
Options
Options inherited from parent commands
SEE ALSO
omnictl serviceaccount - Manage service accounts
omnictl serviceaccount destroy
Destroy a service account
Options
Options inherited from parent commands
SEE ALSO
omnictl serviceaccount - Manage service accounts
omnictl serviceaccount list
List service accounts
Options
Options inherited from parent commands
SEE ALSO
omnictl serviceaccount - Manage service accounts
omnictl serviceaccount renew
Renew a service account by registering a new public key to it
Options
Options inherited from parent commands
SEE ALSO
omnictl serviceaccount - Manage service accounts
omnictl serviceaccount
Manage service accounts
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl serviceaccount create - Create a service account
omnictl serviceaccount destroy - Destroy a service account
omnictl serviceaccount list - List service accounts
omnictl serviceaccount renew - Renew a service account by registering a new public key to it
omnictl support
Download the support bundle for a cluster
Synopsis
The command collects all non-sensitive information for the cluster from the Omni state.
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl talosconfig
Download the admin talosconfig of a cluster
Synopsis
Download the admin talosconfig of a cluster. If merge flag is defined, config will be merged with ~/.talos/config or [local-path] if specified. Otherwise talosconfig will be written to PWD or [local-path] if specified.
Options
Options inherited from parent commands
SEE ALSO
omnictl - A CLI for accessing Omni API.
omnictl
A CLI for accessing Omni API.
Options
SEE ALSO
omnictl apply - Create or update resource using YAML file as an input
omnictl cluster - Cluster-related subcommands.
omnictl completion - Generate the autocompletion script for the specified shell
omnictl config - Manage the client configuration file (omniconfig)
omnictl delete - Delete a specific resource by ID or all resources of the type.
omnictl download - Download installer media
omnictl get - Get a specific resource or list of resources.
omnictl kubeconfig - Download the admin kubeconfig of a cluster
omnictl machine-logs - Get logs for a machine
omnictl serviceaccount - Manage service accounts
omnictl support - Download the support bundle for a cluster
omnictl talosconfig - Download the admin talosconfig of a cluster