Skip to content

bdronneau/talosctx

talosctx: Get More Out of Talos contexts

Latest GitHub release CI Go Report Card

talosctx is a tool for make easy switch between Talos contexts. This tool is based on kubectx/kubens work.

Features

  • TUI: pterm
  • Built with Golang

Installation

go install github.com/bdronneau/talosctx/cmd/talosctx@latest

or check binaries releases

Usage

Configuration

talosctx use TALOSCONFIG environment variable or fallback to $HOME/.talos/config to retrieve talosconfig file and contextes.

Examples

# Display interactive select between contexts
talosctx

# Get current context (PS1 usage, no return line)
talosctx --get-context

Development

Requirements

  • mise to manage toolchain and tasks (installs goreleaser, golangci-lint, etc.)

Get started

mise install
mise run tests

Help

In order to retrieve all commands

mise tasks

About

Blazing fast switcher for your talos contexts

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages