Original link: https://www.bboy.app/2022/11/07/%E4%BD%93%E9%AA%8C%E4%B8%8Bvcluster/
Introduction
vcluster is a k8s cluster running on other k8s, vcluster consists of a pod containing two containers.
- One is k3s, which is used to provide k8s api server, controller manager to connect data storage, and storage can use external etcd, mysql. sqlite is used by default
- The other is Syncer, which is used to copy the pods created in the vcluster cluster to the underlying host, that is to say, the actual workload is still running in the underlying cluster, so there is no performance loss, because all pods are It communicates with the api server in vcluster, so it can reduce the pressure on the apiserver in the host cluster, and it is light enough
This article is reprinted from: https://www.bboy.app/2022/11/07/%E4%BD%93%E9%AA%8C%E4%B8%8Bvcluster/
This site is for inclusion only, and the copyright belongs to the original author.