Martin Koníček

Blog

MicroK8S failing with Kustomize

Showcase image

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

  • Enabling Low-Range NodePorts Below 1024 in MicroK8s for Traefik Ingress
    Enabling Low-Range NodePorts Below 1024 in MicroK8s for Traefik IngressDiscover how to configure MicroK8s to use NodePorts below 1024, a key step for setting up efficient ingress controllers like Traefik. This guide simplifies the process, ensuring a seamless integration of lower NodePorts in your Kubernetes environment.
  • cs | en