This repository is for installing a kind cluster on a fresh installed Ubuntu Linux system. In this demo installation, cluster will be constituted of one master node and one worker node.
Ce dépot a pour but d'installer un cluster kind sur un serveur Linux Ubuntu fraichement installé. Dans cette version de démonstration, le cluster sera composé d'un noeud master et d'un noeud worker.
Un peu de théorie à propos des composants
Kind is used to simulate a kubernetes cluster with nodes as docker containers instead of physical or virtual servers. It is a good alternative to K3S or Minikube when you want to learm Kubernetes components (etcd, kube-api-server, scheduler, controller) because they are installed with kubeadm.
Kind simule un cluster Kubernetes en utilisant des conteneurs docker au lieu de serveurs physiques ou virtuels. C'est une bonne alternative à K3S ou à Minikube quand on veut apprendre les composants internes de Kubernetes (etcd, kube-api-server, scheduler, controller) car ils sont installés avec kubeadm.
Cilium is a good alternative CNI (Container Network Interface) to Flannel, Calico or Weave.
Cilium est une excellente alternative de CNI (Container Network Interface) à Flannel, Calico or Weave.
- An Ubuntu Linux server (tested with Ubuntu 22.04)
- use a user with sudo access
- git
# Get repository
git clone https://github.com/kubway/kind_by_kubway.git
cd kind_by_kubway
Modify variables.env for convenience.
sudo -s source main.sh
helm version
docker version
kubectl version
kind version
Note: If you want to use docker with your current user , you must add it in the linux docker group
kind get clusters
kubectl get nodes
docker ps
kubectl get pods -n kube-system
Note: If you want to use kubectl with your current user , you must update $HOME/.kube/config with values in /root/.kube/config
kubectl run monpod --image nginx
kubectl get pod
kubectl delete pod monpod
sudo -s kind delete clusters $CLUSTER_NAME