I'm currently self-hosting Zrok in the company that I'm working on to integrate with my current OpenZiti network to provide temporary access to the services GitHub Actions instances, and I'm facing some issues.
A little context behind the OpenZiti network setup - I have three instances over that runs a ziti-router and in one of them hosts a ziti-controller. Each instance is located in a different VPC and every VPC is linked to each other through a VPC Peering. I also have a few services already configured and working in my Ziti network.
My problem here is this: When I create a reserved share by using zrok reserve private -b tcpTunnel <ziti-service-name>:<ziti-service-port> it creates another service in my OpenZiti network instead of using my existing one. It is possible to reuse my ziti services previously configured instead of creating new ones?
When I create a reserved share by using zrok reserve private -b tcpTunnel <ziti-service-name>:<ziti-service-port> it creates another service in my OpenZiti network instead of using my existing one. It is possible to reuse my ziti services previously configured instead of creating new ones?
Not currently, no. zrok is designed to specifically create and manage services on behalf of users.
Allowing for support of externally configured ziti services is something we might consider in the future, but it's not in the short/medium term roadmap.
I was able to make it work using this new ziti service that zrok's created for me, but I thought that I could reuse the existing ziti service previously defined. Thank you @michael.quigley for the help!
And @TheLumberjack, thank you for your input as well, I'll use it the --unique-name argument to have specific names.