Last active
September 3, 2022 07:43
-
-
Save v0lkan/f935dad422f7e9a7184d1de20799d246 to your computer and use it in GitHub Desktop.
Install Minikube on EC2 Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. First, make sure that you have Docker installed and running: | |
# ref: https://gist.github.com/v0lkan/537a8ed74b6e765b97323ff98c1a075a | |
# 2. Install minikube | |
# ref: https://minikube.sigs.k8s.io/docs/start/ | |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | |
sudo install minikube-linux-amd64 /usr/local/bin/minikube | |
# 3. Start minikube | |
minikube start --driver=docker | |
# For more information about Minikube, check out the tutorials: | |
# https://kubernetes.io/docs/tutorials/hello-minikube/ | |
# | |
# Also. there is this mini booklet that might help: | |
# https://minikube.sigs.k8s.io/docs/handbook/controls/ | |
# -------- | |
# Troubleshooting | |
# | |
# If you have DNS issues, updating your Daemon config may help: | |
# | |
# file: /etc/docker/daemon.json (create if not exists) | |
# { | |
# "iptables": true, | |
# "dns": ["1.1.1.1", "8.8.8.8"] | |
# } | |
# | |
# Another alternative is to update (or create) /etc/default/docker | |
# with this line: | |
# DOCKER_OPTS="--dns 1.1.1.1 --dns 8.8.8.8" | |
# | |
# Another alternative is to modify the host machine’s /etc/resolv.conf, but | |
# that’s riskier since it’s auto-generated through NetworkManager and messing | |
# it up can cause all sorts of issues. | |
# -------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment