# install kubernetes
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
rm kubectl;
# kubectl version --client
# kubectl cluster-info
# install completions
apt-get install bash-completion
kubectl completion bash >/etc/bash_completion.d/kubectl
# install yml converter
curl -LO https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl-convert
install -o root -g root -m 0755 kubectl-convert /usr/local/bin/kubectl-convert
rm kubectl-convert;
# kubectl convert --help
# minikube
Add new User
adduser developer
# password@7
usermod -aG sudo developer
su - developer
Login to the newly created User
su - developer
# password@7
Add User to the Docker Group
sudo groupadd docker
sudo usermod -aG docker $USER
- Re-Login or Restart the Server
Install Minicube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
install minikube-linux-amd64 /usr/local/bin/minikube
rm minikube-linux-amd64;
Start minikube with Docker Driver
minikube start --driver=docker
Verify minikube Installation
docker ps
see cluster
kubectl get po -A
checker la partie 4
https://minikube.sigs.k8s.io/docs/start/