Kubernetes
Install Kubeadm
Install Kubeadm with the following steps:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
Error with running kubeadm init
Error can be caused by containerd running.
Error seen: “CRI: container runtime is not running: output: time=“2024-05-27T17:40:33+01:00” level=fatal msg=“validate service connection: validate CRI v1 runtime API for endpoint "unix:///var/run/containerd/containerd.sock": rpc error: code = Unimplemented desc = unknown service "
fix by deleting the containerd config file and restarting containerd:
| |
You may need to open the following ports to allow nodes to communicate with the control plane:
| |
Then open the following ports on the worker nodes:
| |
==Create Pod== Create pod with the following command:
| |
inspect the pods conents:
| |
use ctl command to see base info:
| |
See running containers in the pod using ctl:
| |