Skip to content

Commit

Permalink
Add notice for jump host (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan authored Jan 25, 2024
1 parent 92662a9 commit c8d6ba1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@ func main() {
os.Exit(1)
}
lf("Wrote kubeconfig to %q. Use with:\n\n", kcFileName)
lln(boldStyle.Render("##", "The cluster might require you to use a jump host:", clusterOverviewPage))
lln(boldStyle.Render("#", "ssh -D 12000 -q -N $JUMPHOST"))
lln(boldStyle.Render("#", "export HTTPS_PROXY=socks5://localhost:12000"))
lln(boldStyle.Render(fmt.Sprintf("export KUBECONFIG=%q", kcFileName)))
lln(boldStyle.Render("kubectl get nodes"))
}
Expand Down

0 comments on commit c8d6ba1

Please sign in to comment.