This message was deleted.
# rancher-desktop
a
This message was deleted.
f
Hi, not sure if that is really needed. In case the rd is properly installed, one can use
kubectl config view --raw
to get the
kubeconfig
or simply cp from
~/.kube/config
f
As @freezing-airplane-30363 said, it is already on your local machine. If for whatever reason you need an "unmerged" copy, you could fetch it with
Copy code
rdctl shell sudo cat /etc/rancher/k3s/k3s.yaml
You will need to make sure k3s is properly initialized, so you get a working copy and not a stale one. RD takes care of that for the config that is merged into your
~/.kube/config
p
OK. thanks. Its more of convenience when my default Kubeconfig is kind of have huge list and I just need RD ( thought I can do that with jq/yq)
I am also looking at way to replace the 127.0.0.1 address in the config with RD IP
f
sed
? 😄
p
kubectl config view --minify --flatten
?
👍 1