使用kubefwd时上下文不存在

时间:2019-05-17 09:06:06

标签: kubernetes

当我使用kubefwd时,我打上下文不存在错误。但是我确实有这样的上下文,我什至可以在这种上下文中获得pod。有谁知道可能是错的吗?谢谢

➜  user1 git:(master) ✗ sudo kubefwd svc
2019/05/17 17:03:44  _          _           __             _
2019/05/17 17:03:44 | | ___   _| |__   ___ / _|_      ____| |
2019/05/17 17:03:44 | |/ / | | | '_ \ / _ \ |_\ \ /\ / / _  |
2019/05/17 17:03:44 |   <| |_| | |_) |  __/  _|\ V  V / (_| |
2019/05/17 17:03:44 |_|\_\\__,_|_.__/ \___|_|   \_/\_/ \__,_|
2019/05/17 17:03:44
2019/05/17 17:03:44 Version 1.8.2
2019/05/17 17:03:44 https://github.com/txn2/kubefwd
2019/05/17 17:03:44
2019/05/17 17:03:44 Press [Ctrl-C] to stop forwarding.
2019/05/17 17:03:44 'cat /etc/hosts' to see all host entries.
2019/05/17 17:03:44 Loaded hosts file /etc/hosts
2019/05/17 17:03:44 Hostfile management: Original hosts backup already exists at /Users/jzhang/hosts.original
2019/05/17 17:03:44 Error generating REST configuration: context "k8s-e2e" does not exist

0 个答案:

没有答案