Hello.
I am trying to create a k8s cluster over an OpenZiti network:
Let's say that I have 1 node called A in one network and 1 node called Bin another network. Those two networks are not connected to each other. So A cannot access B by default.
Now, both nodes are connected to an OpenZiti overlay network, and I have set up a simple http service on A and I am able to access it from B.
Similarly, following the tutorials you have on your pages, I am able to instantiate a k8s cluster on A and use kubectl from B.
What I want is to join B as a worker node to the cluster of A. I wasn't able to find any information on that on your pages.
Using the same setup as the one for kubectl, I am able to actually join using a DNS name. So kubectl get nodes
, returns the two nodes. But then when I install a cni, there are problems, as the pods do not initialize correctly and the cni fails...From my understanding these problems arise from the fact that only port 6443 is not enough for k8s to establish a cluster.
To no avail, I have tried creating a bi-lateral service for flannel based on the ports described here: https://github.com/flannel-io/flannel/blob/master/Documentation/troubleshooting.md#firewalls
Do note that I am not using a deployment of the tunneler/router on k8s or docker. Just regular host services.
Has anyone tried this? Do you have any tips as to what services are needed to be open for such a thing to work?
Also, to a similar extent, is there a way to define a bunch of services altogether? Or should I define each one by one? I found for example a lot of port that are needed to be open here:
Can I create a single service for those?