macOS
brew install kubesesslocal Homebrew formula metadata
安装
brew install kubesesslocal Homebrew formula metadata
概览
Manage multiple kubernetes cluster at the same time
历史
kubesess is a Rust-based Kubernetes session manager that keeps context and namespace choices isolated per shell.
kubesess was written in Rust as a kubectl-oriented session manager. It creates a small context-specific configuration and prepends it to `KUBECONFIG`, allowing each shell to select an independent current context or namespace.
Version 3 redesigned shell integration around `kubesess init`, changed CLI argument ordering, and added PowerShell integration, requiring migration from the earlier 2.x interface.
The project targets operators who work in several Kubernetes clusters or namespaces concurrently. Homebrew distribution and built-in Bash, Zsh, Fish, and PowerShell integration make its session model convenient for interactive workstation use.
After adding `kubesess init` to the relevant shell startup file, users select per-shell contexts and namespaces with the supplied wrapper functions or CLI commands. Persistent variants can change defaults across shells.
kubesess works by creating context files under `~/.kube/kubesess/cache` and prepending the chosen file to `KUBECONFIG`; the official troubleshooting guide identifies that directory as disposable generated state.
kubesess addresses a subtle command-line safety problem: changing the current context in the shared kubeconfig affects every terminal. Its solution uses kubectl's native configuration-merge behavior and shell environment variables rather than replacing kubectl.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.kube/config~/.bashrc~/.zshrc~/.config/fish/config.fishPowerShell profile可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
kubesess | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Ramilito/kubesess
安装元数据
| 软件包键 | brew:kubesess |
|---|---|
| 版本 | 3.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/kubesess |
| 主页 | https://github.com/Ramilito/kubesess |
| 仓库 | https://github.com/Ramilito/kubesess |
| 许可证 | MIT |
| 源码归档 | https://github.com/Ramilito/kubesess/archive/refs/tags/3.0.0.tar.gz |
| 最后更新 | 2026-09-11T17:19:00Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kubesess |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.