-
Notifications
You must be signed in to change notification settings - Fork 417
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
Controller should create EventListener pod on creation #36
Comments
From my understanding and according to the docs:
I think Deployment makes the most sense since there isn't really anything stateful to the listener pods? |
@iancoffey do you have an opinion? Was there an advantage to using a StatefulSet for the TektonListener? |
iirc, the reasons I chose statefulset are the https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#using-statefulsets I dont have a strong opinion and more or less just rolled with it. The set approach always worked fine but not moreso than a Deployment, in the case that we dont care about the deployment orderings (or I just misunderstand them) |
Ok, thanks Ian. I'm not extremely knowledgable about those situations where we might want a StatefulSet over a Deployment, but it seems like a Deployment will work well for us right now. Down the line, if we want to change it to a StatefulSet, we can. |
Sorry, I should have closed this earlier from #43 |
Expected Behavior
When an
EventListener
CRD is created, the triggers controller should respond by making an instance of running container that can be invoked with CloudEvents.Eventually this running container would expose a Knative eventing addressable endpoint which could be invoked with CloudEvents and would create resource instances in response, but in the context of this issue, the goal is just to:
EventListener
creationEventListener
deletion (thought: should it be allowed to finish whatever it's doing before it finishes? probably! i guess this depends on the design of the running container!)Actual Behavior
Creating an
EventListener
current does nothing :DAdditional Info
@bobcatfish writing this issue does not know the exact form that this running container should take. She knows it should be a container inside a pod, but is not sure if it should be a stateful set, deployment, or something else :D Anyone with more context (@iancoffey @ncskier @vtereso ) feel free to replace this with something definitive or whoever takes on the issue can decide!
Other thoughts:
The text was updated successfully, but these errors were encountered: