KusionStack/kusion

Feat: optimize port forwarding for kusion apply

Open

#1,169 opened on Jun 17, 2024

 (2 comments) (0 reactions) (0 assignees)Go (108 forks)auto 404
hacktoberfesthelp wantedkind/featurepending-discussionpriority/important-longterm

Repository metrics

Stars
 (1,315 stars)
PR merge metrics
 (PR metrics pending)

Description

What would you like to be added?

Please optimize the --port-forwarding flag for kusion apply command:

  • Support direct port forwarding to Pod instead of relying on K8s Service
  • Support customized the local forwarding port number

Why is this needed?

Current, the --port-forward flag only supports applications with K8s Service resources, and the local forwarding port number needs to be consistent with that of the Service, which may easily lead to conflicts.

Contributor guide