Martin Koníček
Blog
MicroK8S failing with Kustomize
When you get an error message error: failed to run '/snap/microk8s/5250/usr/bin/git fetch --depth=1 https://... main': fatal: couldn't find remote ref main this might be a solution
# sudo mount --bind -o nodev,ro /usr/bin /snap/microk8s/5250/usr/bin
Do not forget to change 5250 to your actual number in your distribution.
Reason why it is failing is because of the old git version.
reference: https://github.com/canonical/microk8s/issues/3988
SSH in Visual Studio Code with KeePassRemote SSH extension in Visual Studio Code allows you directly edit files on Linux machine and access Linux console from your Windows workstation. For best comfort when you are accessing Remote SSH server from Visual Studio Code use KeePasswith KeeAgent which will works as SSH agent.