-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS Certificate Verification Error During Liqo Peering Setup #2392
Comments
Dumping information here from slack thread, as that will not be readable later.So, before, I had to add the following to cluster.yaml for rke
Now I am on RKE2, and things are different. I did not find any reference in doc, and only one in repo is this issue.
eh, adding the following
results in this error
|
I am not able to peer using an OVH k8s cluster, Kubernetes Version: v1.28.3, unmodified, either.
|
It expects that the CA found in the connections parameters inside the pod (the pod kubeconfig for simplicity, you can find it at something like /var/run/secrets/kubernetes.io/serviceaccount) and the CA signing remote user certificates is the same We can consider adding the possibility for the user to override this value in the new auth module #2382 |
Here's what we do when we peer an RKE2 cluster (from an EKS cluster) Prerequisites:
Peering:
We haven't had a chance to verify whether we have to update the |
Hello :D
It has been a while 👋
I reviewed doc and updates, but I have missed something basic please let me know. I feel like I have, but my searches have not turned up anything.
What happened:
During the setup of Liqo peering using liqoctl, I encountered a TLS certificate verification error. The specific error message was:
ERRO Failed peering clusters: Error from server (InternalError): Internal error occurred: failed calling webhook 'fc.mutate.liqo.io': failed to call webhook: Post 'https://liqo-controller-manager.liqo.svc:9443/mutate/foreign-cluster?timeout=10s': tls: failed to verify certificate: x509: certificate signed by unknown authority
.What you expected to happen:
I expected the Liqo peering process to complete successfully without any TLS certificate errors.
How to reproduce it (as minimally and precisely as possible):
Set up two Liqo clusters.
Run liqoctl generate peer-command on the first cluster to generate a peering command.
Execute the generated peering command on the second cluster using liqoctl peer out-of-band.
Observe the TLS certificate verification error.
Anything else we need to know?:
One cluster is on prem:
k8s v1.27.11+rke2r1
rocky 9.3 vms
Calico v3.27.0
The remote cluster is OVH:
k8s v1.28.3
Canal
registry.kubernatine.ovh/public/flannel:v0.21.3
registry.kubernatine.ovh/public/calico-node:v3.26.1-amd64
Both have liqo installed with helm via argo-cd, with values generated and modified by
liqoctl install k3s -n cluster1 --only-output-values
Environment:
kubectl version
): See aboveOn prem cluster
Remote cluster
The text was updated successfully, but these errors were encountered: