Closed moyuduo closed 2 years ago
@moyuduo thanks for creating this issue! Why are you disabling service sync? Certain options will leave vcluster in a broken state, so disabling services is not a good idea in general and rather intended to be replaced through a custom plugin sync
@moyuduo thanks for creating this issue! Why are you disabling service sync? Certain options will leave vcluster in a broken state, so disabling services is not a good idea in general and rather intended to be replaced through a custom plugin sync
Why i want to disable service sync is that i think if i want to create many vcluster and each vcluster's nodePort servcie is sync to host cluster,so that port become a rare resource,i just want to expose nodePort service on pod/vcluster005-0
, so i can use pod ip + port to visit
What happened?
I'm using helm to deploy a vcluster use command
helm install vcluster005 vcluster --repo https://charts.loft.sh --namespace vcluster005 --version 0.7.0-alpha.2 --repository-config='' --values values.yaml
and the syncr seems readiness probe failed.after serveral time test i find
Readiness probe failed: Get "https://10.10.131.186:8443/readyz": dial tcp 10.10.131.186:8443: connect: connection refused
error is due to disable service sync invalues.yaml
,is this a bug?more detail: syncer log:
and if you deploy a pod in vcluster, that pod will always pending and never sync to host cluster
What did you expect to happen?
disable service and ingress sync to host cluster and no readiness probe failed error and deploy pod successfully
How can we reproduce it (as minimally and precisely as possible)?
how to fix
Anything else we need to know?
No response
Host cluster Kubernetes version
Host cluster Kubernetes distribution
vlcuster version
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
OS and Arch