kubernetes/minikube

Unable to --cleanup profile tunnel other than default profile

开放

#10,483 创建于 2021年2月15日

 (10 条评论) (0 个反应) (0 位负责人)Go (5,222 个派生)batch import
area/tunnelhelp wantedkind/buglifecycle/frozenpriority/backlog

仓库指标

星标
 (31,799 个星标)
PR 合并指标
 (平均合并 12天 19小时) (30 天内合并 43 个 PR)

描述

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

贡献者指南