https://flyte.org logo
#flyte-deployment
Title
# flyte-deployment
p

Prasad Bhalerao

09/06/2023, 7:22 PM
Can we edit the code which flyte-binary using?
k

Kevin Su

09/06/2023, 7:45 PM
yes, you can update the code, and then update the go module in flyte repo and build the image 1. update the code (e.g. flyteadmin) 2. In flyte repo, run
go mod edit -replace <http://github.com/flyteorg/flyteadmin=github.com/flyteorg/flyteadmin@|github.com/flyteorg/flyteadmin=github.com/flyteorg/flyteadmin@><git_sha>
3. build an image.
make build_native_flyte
p

Prasad Bhalerao

09/06/2023, 7:46 PM
Can you guide me
How I can start with
I just want to add some prefix before urls
Since we don't have env variables in binary as like as core have
I'm trying to replicate same thing there
@Kevin Su
k

Kevin Su

09/06/2023, 7:49 PM
which urls?
p

Prasad Bhalerao

09/06/2023, 7:49 PM
I mean we have ui on /console and api on /api
So Im deploying flyte with my existing application
So I want some prefix so my existing routes and flyte routes will not make any conflict
@Kevin Su
k

Kevin Su

09/06/2023, 8:05 PM
could you create an issue here? [flyte-core]
p

Prasad Bhalerao

09/06/2023, 8:05 PM
You mean for flyte-binary?
k

Kevin Su

09/06/2023, 8:07 PM
I’m not sure how to do it for now, need some time to dig into it. I just tried to change the endpoint in the flyteadmin, but it didn’t work for me.
yes, need to make /api and /console configurable
p

Prasad Bhalerao

09/06/2023, 8:08 PM
Yeah in flyte-binaru
Binary*
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.
2 Views