Skip to content

Instantly share code, notes, and snippets.

@JrogeT
Last active June 19, 2024 11:08
Show Gist options
  • Select an option

  • Save JrogeT/ee54673c5f5ebbe557cdbcaad18894ea to your computer and use it in GitHub Desktop.

Select an option

Save JrogeT/ee54673c5f5ebbe557cdbcaad18894ea to your computer and use it in GitHub Desktop.
- Activating wsl:
https://techcommunity.microsoft.com/t5/windows-11/how-to-install-the-linux-windows-subsystem-in-windows-11/td-p/2701207/page/2
-----------INSIDE WSL-------------
- Installing Docker engine:
https://docs.docker.com/engine/install/ubuntu/
**problem related to "sudo apt-get update: jammy-security InRelease" -> https://stackoverflow.com/questions/62314789/no-internet-connection-on-wsl-ubuntu-windows-subsystem-for-linux
/etc/resolv.conf -> nameserver 8.8.8.8
/etc/wsl.conf -> generateResolvConf = false
- Installing Minikube:
https://minikube.sigs.k8s.io/docs/start/
**problem related to "minikube start: driver not healthy" -> https://stackoverflow.com/questions/72568590/error-when-running-the-command-minikube-start
sudo usermod -aG docker $USER && newgrp docker
- Installing Kubectl:
https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management
- Installing Heml:
https://helm.sh/docs/intro/install/#from-apt-debianubuntu
- Installing Unision:
Check last version: https://github.com/bcpierce00/unison/releases/
`curl -SsL "LAST_VERSION_LINK" | sudo tar -xzv -C "/usr/local/bin/unison-vLAST_VERSION/"`
- Cloning repo with ssh:
ssh: Could not resolve hostname github.com: Temporary failure in name resolution
sudo vi /etc/resolv.conf
nameserver 8.8.8.8
- Before running gg setup:
edit: .development/k8s/.charts/devbox/templates/deployment.yaml
line 58: cpu: 5000m
line 59: memory: 8000Mi
- Memory allocatin problem:
https://learn.microsoft.com/en-us/answers/questions/1296124/how-to-increase-memory-and-cpu-limits-for-wsl2-win
- SSH kay pair problem:
sudo chmod 600 ~/.ssh/id_rsa
sudo chmod 600 ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment