Skip to content

Dev/jtanguy/browser k8s#138

Draft
chuliang wants to merge 10 commits intomainfrom
dev/jtanguy/browser-k8s
Draft

Dev/jtanguy/browser k8s#138
chuliang wants to merge 10 commits intomainfrom
dev/jtanguy/browser-k8s

Conversation

@chuliang
Copy link
Contributor

@chuliang chuliang commented Feb 4, 2026

Description

Add kubernetes part of the browser

Fixes #133 (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (improvement of existing commands)
  • Breaking change (fix or feature that can break a current behavior)
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code
  • I updated the documentation by running make doc
  • I ran go mod tidy
  • I have added tests that prove my fix is effective or that my feature works

amstuta and others added 10 commits February 2, 2026 15:54
Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
…nce actions

Signed-off-by: Julien Tanguy <julien.tanguy@corp.ovh.com>
Signed-off-by: Julien Tanguy <julien.tanguy@corp.ovh.com>
Signed-off-by: Julien Tanguy <julien.tanguy@corp.ovh.com>
Signed-off-by: Julien Tanguy <julien.tanguy@corp.ovh.com>
Signed-off-by: Julien Tanguy <julien.tanguy@corp.ovh.com>
- Extract regions from images API instead of N+1 region detail calls
- Fetch flavors on-demand per selected region
- Cache and reuse images throughout wizard flow
- Filter SSH keys by region via query parameter
- Filter private networks by selected region
- Sort regions alphabetically for consistent display
- Clean up region display (name only, no datacenter/continent info)

- Display instances immediately without waiting for images/floating IPs
- Fetch image names and floating IPs in parallel background
- Automatically enrich display when async data arrives
- Preserve user cursor position during data updates

- Capture and display API query string parameters
- Query strings styled in golden color for visibility
- Shows complete request details: method, URL, query, status, duration, request ID

- Reduce region fetching from N+1 calls to 1 (extract from images response)
- Query-level filtering for SSH keys instead of client-side filtering
- Parallel image/floating IP fetching reduces perceived latency
- Simplified private network display (removed subnet fetching/filtering)

- internal/services/browser/api.go
- internal/services/browser/manager.go
- internal/http/debug.go

Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
Signed-off-by: Your Name <you@example.com>
Extract rendering logic into reusable view components with dedicated
packages for instances and kubernetes resources. Create shared styles,
common views (loading, error, empty), and fix label alignment issues
in detail views.

Signed-off-by: Your Name <you@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Generate kubeconfig and launch k9s/kubectl for selected cluster

2 participants