On 01/03/2021 22:19, Ted Ross wrote:
> For testing purposes, I would like to deploy minikube in a number of
> public cloud locations rather than paying for a full Kubernetes
> service. The problem is that the Skupper connection-token generation
> doesn't work in this scenario, at least not with any minikube setup that
> I've tried.
>
> First of all, has anyone found a way to make this work?
>
> If not, would it be possible to add NodePort to the list of supported
> ingress strategies?
Can you run minikube tunnel? If so, a loadbalancer service will work.
For NodePort you would need to now the IP of the specific pod to forward
the traffic I think(?) whereas with the loadbalancer, you should get a
stable IP for communicating with the service (which I guess you are then
exposing via some other, cloud specific mechanism).
> It might be necessary to tell Skupper what the
> external IP address/hostname is in the skupper init command (or possibly
> the skupper connection-token command).
I think you have to do it on init. The name needs to be included in the
certificate for the local site, which you don't want to change every
time you generate a connection-token for use at another site.
As an alternative, whatabout using the minikube ingress controller? We
would still need to add support for ingress as a valid value for the
ingress option. That would be a more broadly useful approach and perhaps
even cleaner for your case (possibly at the expense of more effort though).