openziti / ziti-doc

Documentation describing the usage of the Ziti platform.
https://openziti.io
Apache License 2.0
34 stars 41 forks source link

Potential confusion around port numbers #902

Open gooseleggs opened 4 months ago

gooseleggs commented 4 months ago

Just looking at migrating from controller 0.28.1 to latest and need to sort out the environment variables.

Looking at env variables download here: https://get.openziti.io/dock/.env and the ports used are non standard compared to the rest of the documentation (6262, 1280 etc).

#ZITI_CTRL_EDGE_ADVERTISED_PORT=8441
#ZITI_CTRL_ADVERTISED_PORT=8440

#ZITI_ROUTER_PORT=8442
#ZITI_ROUTER_LISTENER_BIND_PORT=8444

I think it would be better to change these values to default for consistency.

dovholuknf commented 4 months ago

Thanks for taking the time to file the issue. The production deployment stuff Ken has worked on recently does this. The quickstarts were/are originally intended to demonstrate how to perform various tasks, such as overriding the default ports. The doc is going to be getting overhauled soon along with quickstarts. If and when we make changes, we'll keep this in mind.

Your deployment is actually before a change happened to the environment variables. See https://github.com/openziti/ziti/releases/tag/v0.28.2 for additional information . Hopefully it'll help