Talos + Kubernetes

tkctx

Two ecosystems. One context.

Switch Talos and Kubernetes contexts
with one command.

See one command

01 / The switch

One command replaces two workflows.

Run tkctx to list every discovered context, then pass one shared name to switch Talos and Kubernetes together.

Static tkctx context listing example
$ tkctx
contexts:
  talos:
    - alpha-cluster
    - stable-cluster
    - prod
  kube:
    - alpha-cluster
    - stable-cluster
    - prod
    - orbstack
Context switching before and after tkctx

Before

talosctl config context stable kubectl config use-context admin@stable

After

tkctx stable

Shell completion

Native tab completion for Bash and Zsh.
Context names are completed directly from tkctx.

$ tkctx sta<TAB>
stable
  • tkctx completion bash
  • tkctx completion zsh

02 / How it works

One logical name, end to end.

tkctx connects the context configurations you already use. No second naming workflow is required.

  1. Two ecosystems

    Reads Talos and Kubernetes context configurations directly from ~/.talos and ~/.kube.

  2. One context

    A shared cluster name connects both sides—even when Kubernetes stores it as admin@stable.

  3. One command

    Run tkctx stable to make the matching contexts active in both tools.

03 / Latest release

Choose your build.

Select your platform explicitly. Every archive resolves to the latest GitHub release; no version is stored on this site.