Closed pengtaoman closed 2 years ago
@pengtaoman thanks for reporting this issue! This looks like a problem in k3s where the sqlite database is locked, I would recommend you look into other ways of storing the vcluster data, such as mysql, postgresql or etcd. You can also try to deploy k0s or k8s instead of k3s which might work for you.
I upgraded Vcluster command to v0.5.0-beta.0, and used vcluster create my-vcluster -n my-vcluster --distro k8s --kubernetes-version v1.20.13
, it worked, thank you.
My environments are as follows:
In my k8s cluster, there are three nodes(one master and two workload nodes), I installed calico,istio, cert-manager, kubernetes-dashboard,metrics-server,ingress-nginx, and metallb in my k8s cluster.
The api-resources are as follow:
In order to apply one PV used by the PVC when creating Vcluster, I create a PV:
Then I deploy a VCluster
First time , the syncer container report errors
So I delete the pod, let it restart by StatefulSet controller, but it didn't work, the syncer container report the same errors, and after I delete the pod three or four times , the syncer container report:
The vcluster container report:
Would you please help me to resolve this problem, thanks a lot!