brave-policeman-40622
06/01/2022, 4:35 PM~ nerdctl -v
nerdctl version 0.19.0
➜ ~ kubectl config current-context
I0601 09:02:51.539733 35360 versioner.go:58] invalid configuration: no configuration has been provided
error: current-context is not set
quick-keyboard-83126
06/01/2022, 4:42 PMkubectl config get-contexts
or, alternatively, click the Rancher icon in the menu bar and select a kubernetes context (e.g. rancher-desktop
)brave-policeman-40622
06/01/2022, 4:43 PMfast-garage-66093
06/01/2022, 5:08 PM~/.kube/config
file already exists, and the current-context
property is set to the empty string:
current-context: ""
current-context
is just null
, it will automatically be set to rancher-desktop
.quick-keyboard-83126
06/01/2022, 5:10 PMcurrent-context:
(i commented mine out)fast-garage-66093
06/01/2022, 5:11 PMcurrent-context: ~
, and the value was set afterwardsquick-keyboard-83126
06/01/2022, 5:14 PMClient Version: <http://version.Info|version.Info>{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"darwin/amd64"}
fast-garage-66093
06/01/2022, 5:15 PMquick-keyboard-83126
06/01/2022, 5:15 PMfast-garage-66093
06/01/2022, 5:16 PMquick-keyboard-83126
06/01/2022, 5:16 PMfast-garage-66093
06/01/2022, 5:16 PMquick-keyboard-83126
06/01/2022, 5:16 PMfast-garage-66093
06/01/2022, 5:18 PMkubectl
can only work (meaningfully) if you run k3s
, otherwise you are limited to info
and context
subcommands, which are pretty useless on their ownquick-keyboard-83126
06/01/2022, 5:55 PM