Prerequisites
- Download an ISO and create a USB: https://ubuntu.com/tutorials/tutorial-install-ubuntu-server#1-overview
- Check Basic Ubuntu Setup: http://blog.coultard.com/2016/02/ubuntu-install-checklist.html
- Install docker and complete Post Installation Steps
Kubernetes
- kubernetes-cli (kubectl): https://kubernetes.io/docs/tasks/tools/install-kubectl/#kubectl-install-0
- KVM and minikub kvm driver:
- Check hardward virtualisation: egrep -c '(vmx|svm)' /proc/cpuinfo
should be 1 or more - Check install: kvm-ok
should be 'INFO: /dev/kvm exists; KVM acceleration can be used' - See if processor 64bit (required for VMs with more than 2GB of RAM): egrep -c ' lm ' /proc/cpuinfo
should be 1 or more - Check running kernel is 64bit: uname -m
x86_64 indicates a running 64-bit kernel - minikube: https://kubernetes.io/docs/tasks/tools/install-minikube/
https://minikube.sigs.k8s.io/docs/start/ - Start minikube: minikube start
- Install Dashboard: kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
- Start dashboard: minikube dashboard
Optionally you might need to adjust the amount of memory kubernetes has:
- minikube config set memory 8192
- minikube delete
- minikube start
No comments:
Post a Comment