Assign a Domain
You can assign a custom domain to your project if you are subscribed to a commercial Flinkwerk plan. This domain can have any format of your choosing.
note
Custom domains are optional. You will always be able to access your project at its preview URL.
Follow these steps to assign your custom domain:
Add this to your project configuration.
.flinkwerk/config.ymlenvironments:
my-environment:
cluster: my-cluster
domain: my-domain.comThe
my-environment
field can be just any name you want to give to your environment. Of course, replacemy-domain.com
with the actual name of your custom domain.Detect the IP address of your cluster by issuing this command in your terminal:
flinkwerk cluster info my-cluster
Set the following record on your DNS provider:
Type Name Value
A @ xx.xx.xx.xxPlease replace
xx.xx.xx.xx
with the IP address you detected previously.Finally, run this command in your project root for the changes to take effect:
flinkwerk deploy