Minikube

Minikube

Installation d’un hyperviseur

Installation de kubectl

Installation de minikube

Tester Kubernetes

# check the version of Kubernetes running on the nodes
$ kubectl version
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.0

# deploy an app
$ kubectl run hello-minikube

# view information about the cluster
$ kubectl cluster-info
Kubernetes control plane is running at https://172.30.1.2:6443
CoreDNS is running at https://172.30.1.2:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

# list all the nodes part of the cluster
$ kubectl get nodes
NAME           STATUS   ROLES           AGE    VERSION
controlplane   Ready    control-plane   7d7h   v1.29.0
node01         Ready    <none>          7d7h   v1.29.0