Using KFtray GUI
Learn how to effectively use KFtray's graphical interface for managing your Kubernetes port forwards.
Main Interface
System Tray Menu
- Right-click tray icon for quick actions
- Left-click to open main window
- Status indicators show active forwards
Main Window
- List of configurations
- Status toggles
- Search and filter options
- Configuration management
Managing Configurations
Adding New Configuration
- Click "+" button or use Ctrl/Cmd + N
- Fill required fields:
{ "service": "my-service", "namespace": "default", "local_port": 8080, "remote_port": 80, "protocol": "tcp", "alias": "web" }
- Click Save
Editing Configurations
- Click edit icon next to configuration
- Modify settings
- Save changes
Deleting Configurations
- Click delete icon
- Confirm deletion
- Or select multiple and use bulk delete
Port Forwarding
Starting Forwards
- Toggle individual switches
- Use "Start All" button
- Right-click tray icon shortcuts
Stopping Forwards
- Toggle switches off
- Use "Stop All" button
- Right-click tray menu options
Monitoring Status
- Green: Active
- Red: Stopped
- Yellow: Connecting
- Error icon: Issues
Advanced Features
HTTP Traffic Logging
- Enable port forward
- Click configuration menu
- Enable HTTP logging
- Access logs via icon
GitHub Sync
- Open settings
- Configure GitHub repository
- Set sync interval
- Enable auto-sync
Auto Import
- Click menu icon
- Select "Auto Import"
- Choose context
- Import configurations
Settings
General
- Auto-start application
- Minimize to tray
- Update checking
- Theme selection
Kubernetes
- Default context
- Kubeconfig path
- Namespace filters
- Connection timeout
GitHub
- Repository URL
- Access token
- Sync interval
- Auto-sync toggle
Troubleshooting
Common Issues
- Connection Failed
- Check cluster access
- Verify service exists
- Review permissions
- Port Conflicts
- Check port availability
- Stop conflicting services
- Change local port
- Sync Issues
- Verify GitHub token
- Check repository access
- Review network connection
Best Practices
- Use meaningful aliases
- Group related forwards
- Regular configuration backups
- Monitor resource usage
- Keep logs cleaned up
Tips and Tricks
- Quick Access
- Pin frequent forwards
- Use keyboard shortcuts
- Organize by namespace
- Performance
- Limit active forwards
- Regular cache clearing
- Monitor system resources
- Team Collaboration
- Share configurations
- Document port usage
- Maintain naming conventions