Skip to content

v1.0.0

Choose a tag to compare

@user-cube user-cube released this 09 May 15:54
· 60 commits to main since this release
4845a81

Release Notes - Kontext v1.0.0

Overview

Kontext is a powerful CLI tool that simplifies Kubernetes context and namespace management, allowing developers and operators to switch between clusters and namespaces quickly and effortlessly.

Features

Context Management

  • 🔄 Interactive Context Switching: Dynamically select and switch between Kubernetes contexts with an intuitive terminal UI
  • 📋 Context Listing: View all available contexts with clear indication of the current active context
  • 🔍 Current Context Display: Quickly identify your active context
  • 🎯 Tab Completion: Command-line completion for context names

Namespace Management

  • 🔄 Dynamic Namespace Selection: Interactively select namespaces from your active cluster
  • 🌐 Real-time Namespace Retrieval: Automatically fetches available namespaces from your Kubernetes cluster
  • 🔍 Current Namespace Display: Easily see which namespace is active in your current context
  • 🔀 Combined Workflow: Switch context and namespace in a single command

User Experience

  • 🎨 Color-coded Output: Visually distinct, color-coded terminal output for improved readability
  • ⌨️ Shell Completion: Support for Bash, Zsh, and Fish shell completion
  • 🚀 Intuitive Commands: Simple, memorable commands with aliases for increased productivity
  • 🔄 Graceful Fallbacks: Works even when offline or when clusters are unreachable

Installation

# Install using Go
go install github.com/user-cube/kontext@latest

# Or download the appropriate binary for your platform from the releases page

Usage Examples

# Interactive context selection (default behavior)
kontext

# List all available contexts
kontext list

# Show current context
kontext current

# Switch to a specific context with tab completion
kontext switch my-context

# View and select namespaces
kontext namespace

# Switch context and then set namespace in one command
kontext switch -n

Compatibility

  • Works across Linux, macOS, and Windows
  • Compatible with standard kubeconfig files
  • Built with Go 1.23

Known Issues

  • None reported at this time