-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple queue guide uses kubectl --export, which is deprecated #243
Comments
"Deprecated" in which version? :) |
I'll move this to the correct repo, and feel free to send a PR, but bear in mind that not everyone is using K8s 1.19 in production yet. |
Yeah I'm thinking of the best approach, because it's less than ideal to grab yaml out of stuff that's running in kube like that, ideally I'd say that multiple queues should be configured via helm for faas-netes, but I'm not sure what that contract would look like for the other non-kube implementations. As an aside, do you know of a good way to monitor individual queues, and what they're waiting on, etc? Tailing the logs is less than ideal, especially if you have multiple workers/multiple in-flight. Perhaps a graph might be able to handle that, but depending on the ideal featureset, this might be a decent bespoke UI which hits certain metrics to give you insight as to what's blocking a queue (spitballing here). |
What you need to do is to run something like PRs to the docs are welcome, but please read the contributing guide and get your DCO right the first time if possible. Open to suggestions on multiple queues, this is slightly less important now that we can have massive concurrency - 100+ go routines all processing from the same single Pod. The export / apply approach to YAML is a temporary work-around. |
@kevin-lindsay-1 would you be open to sending a PR? |
@alexellis looked into this, there really isn't a fantastic alternative to As an aside, is the Here's the script that I have right now, which cleans up the output yaml and creates a file. Please let me know if this works for you, and if so, I can make a PR.
|
Closing this issue in favor of openfaas/nats-queue-worker#113, which would prevent the need from imperatively fetching an existing queue worker and creating a new one. For others that may see this issue and would like to create their own queue worker, instead of exporting a live queue worker, I recommend simply making your own chart by looking at the queue worker in the openfaas chart: https://github.com/openfaas/faas-netes/blob/master/chart/openfaas/templates/queueworker-dep.yaml |
What would you like to let us know?
What's wrong?
Let us know more below:
https://docs.openfaas.com/reference/async/#multiple-queues
A good alternative way to easily create new queue workers seems to be necessary now.
Do you want to chat to us about this issue?
Head over to Slack https://slack.openfaas.io/
The text was updated successfully, but these errors were encountered: