kubernetes/minikube

Unable to --cleanup profile tunnel other than default profile

Aperta

#10.483 aperta il 15 feb 2021

 (10 commenti) (0 reazioni) (0 assegnatari)Go (5222 fork)batch import
area/tunnelhelp wantedkind/buglifecycle/frozenpriority/backlog

Metriche repository

Star
 (31.799 stelle)
Metriche merge PR
 (Merge medio 12g 19h) (43 PR mergiate in 30 g)

Descrizione

I cannot delete the tunnel created for a minikube profile other than the default profile.

Steps to reproduce the issue:

  1. Start a minikube profile, like minikube start -p foo
  2. Check that context is foo.
  3. Start tunnel, using minikube tunnel -p foo
  4. Stop tunnel, using Ctrl+C
  5. Try to delete tunnel, using minikube tunnel -c -p foo, or minikube -p foo -c, or minikube -c

Full output of failed command: The first 2 start the tunnel. The latter gives

🤷  Profile "minikube" not found. Run "minikube profile list" to view all profiles.
👉  To start a cluster, run: "minikube start"

Environment specs:

  • minikube version: v1.16.0 (did not see tunnel related changes in newer versions)
  • kernel 5.10 on Manjaro Linux

Guida contributor