Virtual Kubelet
Virtual Kubelet is a fascinating project. It impersonates a kubelet to connect Kubernetes to other APIs such as AWS Fargate or Azure ACI. The Virtual Kubelet looks like a node to the Kubernetes cluster, but the compute resources backing it up are abstracted away. The Virtual Kubelet looks like just another node to the Kubernetes cluster:
Figure 11.9: Virtual Kubelet, which looks like a regular node to the Kubernetes cluster
The features of the Virtual Kubelet are:
- Creating, updating, and deleting pods
- Accessing container logs and metrics
- Getting a pod, pods, and pod status
- Managing capacity
- Accessing node addresses, node capacity, and node daemon endpoints
- Choosing the operating system
- Supporting your own virtual network
See https://github.com/virtual-kubelet/virtual-kubelet for more details.
This concept can be used to connect multiple Kubernetes clusters too, and several projects follow this...