Hello All, I'm deploying Flyte with my existing ap...
# flyte-deployment
p
Hello All, I'm deploying Flyte with my existing application I want to redirect flyte on /flyte not on /console I'm using flyte-binary is there any way of doing this?
f
I guess you will need something like a reverse proxy to do the rewriting 🤔
p
Tried with that rewrite but it's not working
Is /console is hard coded for binary It's not present as an env variable as its present in core and onwards With default value /console and ability to replace it
k
I think ingress and admin api url config should do it ?
p
Tried it with ingress but still it's not working
Able to do the same with flyte-core but not working with flyte-binary
d
@Prasad Bhalerao sorry for the delay. I haven't tried it myself but I'm wondering if the env var portion of the work here could be completed for
flyte-binary
setting it up under inline Also cc @jeev in case you have an idea
p
That's fine.
Still not able to get how to do that
j
not sure. will dig
p
Can we edit the code which flyte-binary using?
j
so this is not a runtime config, but a build time one. should be able to fork and modify as necessary though. wondering if there is perhaps a way to use rewrite rules to get around this.
p
So is there any way to add perfix for api route?
hey i want a favour i digged the issue in case of flyte-binary we are running go server right? and we are not passing env variables as like as we are passing for individual flyte-cosnole so i found variable for BASE_URL it was hardcoded i changed it according to my need but not able to find ADMIN_API_URL api route is going without any prefix @jeev
@David Espejo (he/him)
@Fabio Grätz @Ketan (kumare3)
Hey can you do me a favor I setup the things for flyte it's working as per my requirements Just I need to flytectl config init I'm just using http service and I also have an ingress for the same How can I use http ingress or service.
f
I don’t understand the question tbh I’m sorry 😕
p
I want to do flytectl config init I'm on eks I have http service and ingress How can I do ?
To acess --remote
@Fabio Grätz
f
Is there an error when you run
flytectl config init
?
p
No but what host we need to specify?
f
Do you have a domain for your flyte deployment that you configured a DNS record for for the ip used by the ingress?
If you are on EKS, you might find this helpful to configure Auth: