input
stringlengths
1
18.7k
output
stringlengths
1
18.7k
cluster ip or loadbalancer?
cluster ip Do I need make it as loadbalancer?
cluster ip Do I need make it as loadbalancer?
Yes, but more importantly, how did you deploy flyte to the EKS cluster?
Yes, but more importantly, how did you deploy flyte to the EKS cluster?
eksctl create cluster --name test-cluster --version 1.18 --region us-east-1 --nodegroup-name linux-nodes --node-type t2.large --nodes 2 this is how I did it
eksctl create cluster --name test-cluster --version 1.18 --region us-east-1 --nodegroup-name linux-nodes --node-type t2.large --nodes 2 this is how I did it
have you used this: <https://github.com/lyft/flyte/blob/master/deployment/eks/flyte_generated.yaml> ?
have you used this: <https://github.com/lyft/flyte/blob/master/deployment/eks/flyte_generated.yaml> ?
and then kubectl apply -f <https://raw.githubusercontent.com/flytehub/install-flyte/master/flyte.yaml>
and then kubectl apply -f <https://raw.githubusercontent.com/flytehub/install-flyte/master/flyte.yaml>
aha..
aha..
oh no is that the wrong link?
oh no is that the wrong link?
so this will work for evaluation purposes... that file is really meant for a sandbox installation (like minikube, microk8s, docker for mac... etc.)...
so this will work for evaluation purposes... that file is really meant for a sandbox installation (like minikube, microk8s, docker for mac... etc.)...
oh I see! :sweat_smile:
oh I see! :sweat_smile:
which is fine if you are just exploring but if you want more "real" deployment (with s3, maybe aurora db... etc.) you will need to use the EKS config... the difference between them is how do we configure the cluster and how do we configure flyte... so ok... let's keep going with your sandbox installation for now...
which is fine if you are just exploring but if you want more "real" deployment (with s3, maybe aurora db... etc.) you will need to use the EKS config... the difference between them is how do we configure the cluster and how do we configure flyte... so ok... let's keep going with your sandbox installation for now...
ok! yeah, i just want to make flyte work! so I know how to use flyte
ok! yeah, i just want to make flyte work! so I know how to use flyte
alright, so looking at the rest of services, do you see contour?
alright, so looking at the rest of services, do you see contour?
this is what I see
this is what I see
ah I see now the link you used is not from an official/supported repo... Can you use this instead? `<https://github.com/lyft/flyte/blob/master/deployment/sandbox/flyte_generated.yaml>`
ah I see now the link you used is not from an official/supported repo... Can you use this instead? `<https://github.com/lyft/flyte/blob/master/deployment/sandbox/flyte_generated.yaml>`
I see, do you know how can I remove this? and get the official one I am very new to eks, I only know delete cluster, but that takes forever
I see, do you know how can I remove this? and get the official one I am very new to eks, I only know delete cluster, but that takes forever
You can remove by running: `kubectl delete -f <https://raw.githubusercontent.com/flytehub/install-flyte/master/flyte.yaml>` And then run `kubectl apply -f <https://github.com/lyft/flyte/blob/master/deployment/sandbox/flyte_generated.yaml>`
You can remove by running: `kubectl delete -f <https://raw.githubusercontent.com/flytehub/install-flyte/master/flyte.yaml>` And then run `kubectl apply -f <https://github.com/lyft/flyte/blob/master/deployment/sandbox/flyte_generated.yaml>`
I got this error when I am running it error: error parsing <https://github.com/lyft/flyte/blob/master/deployment/sandbox/flyte_generated.yaml>: error converting YAML to JSON: yaml: line 88: mapping values are not allowed in this context
I got this error when I am running it error: error parsing <https://github.com/lyft/flyte/blob/master/deployment/sandbox/flyte_generated.yaml>: error converting YAML to JSON: yaml: line 88: mapping values are not allowed in this context
hmmm looking
hmmm looking
or I can just use the none sandbox one, whichever is more convienent
or I can just use the none sandbox one, whichever is more convienent
this is weird, can you download the file locally? It seems to have worked for me when I did...
this is weird, can you download the file locally? It seems to have worked for me when I did...
I can try that, does it matter if I am using 1.18?
I can try that, does it matter if I am using 1.18?
Nah
Nah
The CustomResourceDefinition “<http://scheduledsparkapplications.sparkoperator.k8s.io|scheduledsparkapplications.sparkoperator.k8s.io>” is invalid: status.storedVersions[0]: Invalid value: “v1beta1": must appear in spec.versions another error show up when I run local field
The CustomResourceDefinition “<http://scheduledsparkapplications.sparkoperator.k8s.io|scheduledsparkapplications.sparkoperator.k8s.io>” is invalid: status.storedVersions[0]: Invalid value: “v1beta1": must appear in spec.versions another error show up when I run local field
oh that's weird... #it_works_on_my_machine alright, let's remove spark for now, how about that?
oh that's weird... #it_works_on_my_machine alright, let's remove spark for now, how about that?
Haytham Abuelfutuh I have an update on the generated yaml for sandbox want to try if that helps?
Haytham Abuelfutuh I have an update on the generated yaml for sandbox want to try if that helps?
sure... do you have it in a PR yet?
sure... do you have it in a PR yet?
if there is a ingress problem Haytham Abuelfutuh <https://github.com/lyft/flyte/pull/683> It also has a nicer way to get to console
if there is a ingress problem Haytham Abuelfutuh <https://github.com/lyft/flyte/pull/683> It also has a nicer way to get to console
`kubectl apply -f <https://raw.githubusercontent.com/lyft/flyte/c101a390d3424a9d6e13a891f81c81ff5ebcb051/deployment/sandbox/flyte_generated.yaml>` Want to try that, Nelly L?
`kubectl apply -f <https://raw.githubusercontent.com/lyft/flyte/c101a390d3424a9d6e13a891f81c81ff5ebcb051/deployment/sandbox/flyte_generated.yaml>` Want to try that, Nelly L?
Haytham Abuelfutuh after the deployment follow the description
Haytham Abuelfutuh after the deployment follow the description
:+1:
:+1:
Gotit I tried the link again, still got an error job.batch/contour-certgen-v1.11.0 created job.batch/sparkoperator-init unchanged ingress.extensions/flytesystem configured ingress.extensions/minio configured The CustomResourceDefinition “<http://scheduledsparkapplications.sparkoperator.k8s.io|scheduledsparkapplications...
Gotit I tried the link again, still got an error job.batch/contour-certgen-v1.11.0 created job.batch/sparkoperator-init unchanged ingress.extensions/flytesystem configured ingress.extensions/minio configured The CustomResourceDefinition “<http://scheduledsparkapplications.sparkoperator.k8s.io|scheduledsparkapplications...
aha... this is because of the 1.18 validation... which is a healthy thing... let me see if they have an updated CRD
aha... this is because of the 1.18 validation... which is a healthy thing... let me see if they have an updated CRD
Haytham Abuelfutuh they do - <https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/manifest/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml>
Haytham Abuelfutuh they do - <https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/manifest/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml>
They indeed do.. can you push them to your PR, Ketan Umare?
They indeed do.. can you push them to your PR, Ketan Umare?
thats what i was thinking Haytham Abuelfutuh let me do that
thats what i was thinking Haytham Abuelfutuh let me do that
thanks
thanks
else i can just remove it from sandbox? Nelly L do you want to use spark for now? i want to get you unblocked
else i can just remove it from sandbox? Nelly L do you want to use spark for now? i want to get you unblocked
not really, I just want to play with flyte, see how the orchestration work, haha, like if I submit a task how the the composite task work etc
not really, I just want to play with flyte, see how the orchestration work, haha, like if I submit a task how the the composite task work etc
ohh ya spark is advanced let me just drop it and create a new branch you can use that and we will fix spark
ohh ya spark is advanced let me just drop it and create a new branch you can use that and we will fix spark
Thanks! that will be very helpful! really want to get this working on eks XD!
Thanks! that will be very helpful! really want to get this working on eks XD!
absolutely thank you for pinging here, more than happy to help Haytham Abuelfutuh / Nelly L updated config can be found in this PR <https://github.com/lyft/flyte/pull/684> Specifically <https://github.com/lyft/flyte/blob/d26a8ceaa28b69e4b70733b6c9dc9be8212ffa71/deployment/sandbox/flyte_generated.yaml>
absolutely thank you for pinging here, more than happy to help Haytham Abuelfutuh / Nelly L updated config can be found in this PR <https://github.com/lyft/flyte/pull/684> Specifically <https://github.com/lyft/flyte/blob/d26a8ceaa28b69e4b70733b6c9dc9be8212ffa71/deployment/sandbox/flyte_generated.yaml>
awesome yeah, can you try that? `kubectl apply -f <https://raw.githubusercontent.com/lyft/flyte/d26a8ceaa28b69e4b70733b6c9dc9be8212ffa71/deployment/sandbox/flyte_generated.yaml>` ?
awesome yeah, can you try that? `kubectl apply -f <https://raw.githubusercontent.com/lyft/flyte/d26a8ceaa28b69e4b70733b6c9dc9be8212ffa71/deployment/sandbox/flyte_generated.yaml>` ?
Nelly L can you delete the old one first using `k delete -f old-link`
Nelly L can you delete the old one first using `k delete -f old-link`
what is next
what is next
can you do `kubectl get pods -n flyte` just to make sure everything is running
can you do `kubectl get pods -n flyte` just to make sure everything is running
`NAME                READY  STATUS   RESTARTS  AGE` `contour-6cfb998879-hd2gn      1/1   Running   0     15m` `contour-6cfb998879-w7wqr      1/1   Running   0     16m` `contour-certgen-v1.11.0-59z2s   0/1   Completed  0     16m` `datacatalog-958486cc8-dcfdh    1/1   Running   0     28m` `envoy-gxwbk            2/2   Ru...
`NAME                READY  STATUS   RESTARTS  AGE` `contour-6cfb998879-hd2gn      1/1   Running   0     15m` `contour-6cfb998879-w7wqr      1/1   Running   0     16m` `contour-certgen-v1.11.0-59z2s   0/1   Completed  0     16m` `datacatalog-958486cc8-dcfdh    1/1   Running   0     28m` `envoy-gxwbk            2/2   Ru...
this is awesome ok lets do this ```kubectl get -n flyte service envoy -o wide```
this is awesome ok lets do this ```kubectl get -n flyte service envoy -o wide```
yes I saw some external ip address and ip address, but when I try visiting it, it says 404 not found
yes I saw some external ip address and ip address, but when I try visiting it, it says 404 not found
you need to type `http://&lt;external-ip&gt;/console` assuming you have external ip :smile: and it is accessible
you need to type `http://&lt;external-ip&gt;/console` assuming you have external ip :smile: and it is accessible
envoy should be a load balancer.. does it have a URL in the list?
envoy should be a load balancer.. does it have a URL in the list?
cool, no wonder it dont work, I just copy the external ip address
cool, no wonder it dont work, I just copy the external ip address
hurrah! we are in the process of updating the getting started as we speack thank you for the patience so the same ip address you will have to use
hurrah! we are in the process of updating the getting started as we speack thank you for the patience so the same ip address you will have to use
But I would start with this: <https://flytecookbook.readthedocs.io/en/latest/> There are a bunch of examples to explore the capabilities
But I would start with this: <https://flytecookbook.readthedocs.io/en/latest/> There are a bunch of examples to explore the capabilities
for interacting from cli as well
for interacting from cli as well
got it! cli I can interract it with flyte from command line? Thanks for the help!
got it! cli I can interract it with flyte from command line? Thanks for the help!
yup the cli is called `flyte-cli` and when you `pip install flytekit` it is auto-installed Nelly, (not @’ing you today as it is a weekend, with the contour fix, we need one more small change). You might want to deploy <https://github.com/flyteorg/flyte/blob/93cf006156c87b65917c78835e0cb7df66aff7c9/deployment/sandbox/fl...
yup the cli is called `flyte-cli` and when you `pip install flytekit` it is auto-installed Nelly, (not @’ing you today as it is a weekend, with the contour fix, we need one more small change). You might want to deploy <https://github.com/flyteorg/flyte/blob/93cf006156c87b65917c78835e0cb7df66aff7c9/deployment/sandbox/fl...
sounds good! will try rn thanks for letting me know
sounds good! will try rn thanks for letting me know
Nelly L we also merged it to master we are still in process of updating our getting started docs - :crossed_fingers: they would be simpler. Until then please feel free to ping me here
Nelly L we also merged it to master we are still in process of updating our getting started docs - :crossed_fingers: they would be simpler. Until then please feel free to ping me here
I was playing with this, <https://flytecookbook.readthedocs.io/en/latest/index.html|Flyte> • *Getting Started* • <https://flytecookbook.readthedocs.io/en/latest/core.html#|Getting Started with Flytekit [python]> • <https://flytecookbook.readthedocs.io/en/latest/auto_core_basic/index.html|Basic Examples: Tasks, Workflow...
I was playing with this, <https://flytecookbook.readthedocs.io/en/latest/index.html|Flyte> • *Getting Started* • <https://flytecookbook.readthedocs.io/en/latest/core.html#|Getting Started with Flytekit [python]> • <https://flytecookbook.readthedocs.io/en/latest/auto_core_basic/index.html|Basic Examples: Tasks, Workflow...
hmmm so you have an endpoint in EKS, is it public?
hmmm so you have an endpoint in EKS, is it public?
yeah it is right now i can access the console
yeah it is right now i can access the console
and you can open up `FlyteConsole` using `<http://endpoint/console>`
and you can open up `FlyteConsole` using `<http://endpoint/console>`
yeah
yeah
ok did you deploy the new change i added over the weekend? if so, can you do me a favor and paste `kubectl -n flyte get svc flytesystem -o yaml`
ok did you deploy the new change i added over the weekend? if so, can you do me a favor and paste `kubectl -n flyte get svc flytesystem -o yaml`
yeah I deploy the new change
yeah I deploy the new change
just to make sure we have the new changes applied infact
just to make sure we have the new changes applied infact
it says (flyte) *➜ Development* kubectl -n flyte get svc flytesystem -o yaml Error from server (NotFound): services “flytesystem” not found
it says (flyte) *➜ Development* kubectl -n flyte get svc flytesystem -o yaml Error from server (NotFound): services “flytesystem” not found
`flyteadmin` `kubectl -n flyte get svc flyteadmin -o yaml` the ingress is called `flytesystem` - my bad
`flyteadmin` `kubectl -n flyte get svc flyteadmin -o yaml` the ingress is called `flytesystem` - my bad
gotcha! i did see the yaml file
gotcha! i did see the yaml file
can you see what ``annotations`` are on the yaml
can you see what ``annotations`` are on the yaml
`metadata:`  `annotations:` `  <http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: |`    `{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"<http://projectcontour.io/upstream-protocol.h2c|projectcontour.io/upstream-protocol.h2c>":"grpc"},"name":"flyt...
`metadata:`  `annotations:` `  <http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: |`    `{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"<http://projectcontour.io/upstream-protocol.h2c|projectcontour.io/upstream-protocol.h2c>":"grpc"},"name":"flyt...
ok so this exists `<http://projectcontour.io/upstream-protocol.h2c|projectcontour.io/upstream-protocol.h2c>: grpc` good ok then lets go to your CLI and write `flyte-cli -h localhost:80 -i list-projects` this is in your virutal environment that has `flytekit` - `pip install flytekit==v0.16.0b3`
ok so this exists `<http://projectcontour.io/upstream-protocol.h2c|projectcontour.io/upstream-protocol.h2c>: grpc` good ok then lets go to your CLI and write `flyte-cli -h localhost:80 -i list-projects` this is in your virutal environment that has `flytekit` - `pip install flytekit==v0.16.0b3`
`status = StatusCode.UNAVAILABLE` details = “failed to connect to all addresses” debug_error_string = “{”created”:“@1612216308.149416000”,“description”:“Failed to pick subchannel”,“file”:“src/core/ext/filters/client_channel/client_<http://channel.cc|channel.cc>”,“file_line”:5391,“referenced_errors”:[{“created”:“@1612...
`status = StatusCode.UNAVAILABLE` details = “failed to connect to all addresses” debug_error_string = “{”created”:“@1612216308.149416000”,“description”:“Failed to pick subchannel”,“file”:“src/core/ext/filters/client_channel/client_<http://channel.cc|channel.cc>”,“file_line”:5391,“referenced_errors”:[{“created”:“@1612...
ohh sorry not localhost `-h endpoint:80` So Nelly L got it running after port-forwarding envoy svc from contour using `kubectl -n flyte port-forward svc/envoy 8001:80` and then using the command `flyte-cli -h localhost:8001 -i list-projects` Katrina Rogan can you please help Nelly L wit the getting started guide. They ...
Is there a plan to rename all the modules, for example <https://github.com/flyteorg/flytepropeller/blob/master/go.mod#L1> ?
Hongxin Liang ya we should, but that is not the highest priority. Needs a lot of work and we should start with flytestdlib :slightly_smiling_face: But, definitely fix all the website etc
Hongxin Liang ya we should, but that is not the highest priority. Needs a lot of work and we should start with flytestdlib :slightly_smiling_face: But, definitely fix all the website etc
:thumbsup: Thanks.
FYI the redirection links are broken on <https://flyte.org/> because they redirect to <https://lyft.github.io> It’s the case for: Get started, Contribute, Learn more
We have updated doc links to - <https://flyte.readthedocs.io/en/latest/index.html|https://flyte.readthedocs.io/en/latest/index.html> Stephen we will try to clean everything up in the next couple days its a big milestone for the project hopefully, everyone will spare us a couple days to clean it up
We have updated doc links to - <https://flyte.readthedocs.io/en/latest/index.html|https://flyte.readthedocs.io/en/latest/index.html> Stephen we will try to clean everything up in the next couple days its a big milestone for the project hopefully, everyone will spare us a couple days to clean it up
Oh yeah no worries, I just pointed that out in case you didn’t know. I didn’t mean it in a bad way, I’m sorry if it sounded like that :bow:
Oh yeah no worries, I just pointed that out in case you didn’t know. I didn’t mean it in a bad way, I’m sorry if it sounded like that :bow:
no dude completely appreciated
started noticing an interesting issue this morning: ```[DynamicJobSpecReadFailed] unable to read futures file, maybe corrupted, caused by: [system] Failed to read futures protobuf file., caused by: path:<gs://freenome-orchid-dev-flyte-data/metadata/propeller/orchid-main-it-fastq-to-bam-wf-0/trim-fastqs-and-align/data/0...
sorry this is from flytekit?
sorry this is from flytekit?
i think it might be from propeller
i think it might be from propeller
can you check to see if the file is actually there? and if not, the logs from the parent container?
can you check to see if the file is actually there? and if not, the logs from the parent container?
it is
it is
oh it is. cool.
oh it is. cool.
cant explain the 504 either possibly transient it looks like...only 4/24 are failing with the error error originates from here: <https://github.com/flyteorg/flytepropeller/blob/ff2499a597a9df4b67181543d5251a7578469f73/pkg/controller/nodes/dynamic/dynamic_workflow.go#L156> must be that stow is failing with a 504 during ...
cant explain the 504 either possibly transient it looks like...only 4/24 are failing with the error error originates from here: <https://github.com/flyteorg/flytepropeller/blob/ff2499a597a9df4b67181543d5251a7578469f73/pkg/controller/nodes/dynamic/dynamic_workflow.go#L156> must be that stow is failing with a 504 during ...
does it look about right? ```flyte-cli parse-proto -f futures.pb -p flyteidl.core.dynamic_job_pb2.DynamicJobSpec```
does it look about right? ```flyte-cli parse-proto -f futures.pb -p flyteidl.core.dynamic_job_pb2.DynamicJobSpec```
yup looks good Yee happy to share the file with you if you want
yup looks good Yee happy to share the file with you if you want
no it’s okay
no it’s okay
ok
ok
not sure what’s going on. maybe Haytham Abuelfutuh might have a better idea.
not sure what’s going on. maybe Haytham Abuelfutuh might have a better idea.
i think it might be a transient network issue with GCS... but im wondering if we can tweak the retry strategy at all
i think it might be a transient network issue with GCS... but im wondering if we can tweak the retry strategy at all
will probably need to be resolved with retries or something. is there more error log that you can share?
will probably need to be resolved with retries or something. is there more error log that you can share?
will look at propeller
will look at propeller
yeah that sounds about right - transient network issue with gcs Katrina Rogan does stow have builtin retry options that are exposed through flytepropeller’s configs do you know?
yeah that sounds about right - transient network issue with gcs Katrina Rogan does stow have builtin retry options that are exposed through flytepropeller’s configs do you know?
not sure, looking hmm i want to say no? but not sure if i'm missing something
not sure, looking hmm i want to say no? but not sure if i'm missing something
Yee Katrina Rogan: i think stow just depends on the go client: <https://github.com/googleapis/google-cloud-go/blob/9af529c21e98b62c4617f7a7191c307659cf8bb8/storage/reader.go#L150> 504 is retried: <https://github.com/googleapis/google-cloud-go/blob/9af529c21e98b62c4617f7a7191c307659cf8bb8/storage/go110.go#L26> i dont th...
Yee Katrina Rogan: i think stow just depends on the go client: <https://github.com/googleapis/google-cloud-go/blob/9af529c21e98b62c4617f7a7191c307659cf8bb8/storage/reader.go#L150> 504 is retried: <https://github.com/googleapis/google-cloud-go/blob/9af529c21e98b62c4617f7a7191c307659cf8bb8/storage/go110.go#L26> i dont th...
is this the first and only time you’ve seen this issue?
is this the first and only time you’ve seen this issue?
oddly...yea maybe itll turn up more in stress testing. will table for now and bring up again later if its still a problem
oddly...yea maybe itll turn up more in stress testing. will table for now and bring up again later if its still a problem
we should file an issue to have configurable retries for gcp one way or the other
we should file an issue to have configurable retries for gcp one way or the other
in python, using the google-cloud-storage package, we just implement retries ourselves. kinda nice to see that the go lib takes care of that though :)