How does keptn
service provide integration with event API?
#7451
-
Keptn service implementation running outside the Keptn control plane I understood here events are fetched from Keptn's public event API Does this mean events described inside the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @agardnerIT, I tried to map it with |
Beta Was this translation helpful? Give feedback.
-
Hi Afzal, I think you're correct but I'll rephrase to make sure I understand the question fully. I know you know some of this stuff already so sorry for going over old ground :) Keptn core is a bunch of microservices. Then you add other services (like the job executor service). If the other services are running on the same cluster as the core microservices, the service is said to be running Services can connect to keptn core in (currently) one of two ways:
If your service is running locally, it will use NATS. If your service is running remotely, it will use HTTPS. Given a shipyard (partial example) like this:
In order to trigger the
When you run Services subscribe to the task events. So in the example above, you want the job executor service to react to the
Note the lack of stage in the event type, because the important metadata is actually held inside the cloudevent body so we don't need to duplicate in the To reiterate, if the JES is running locally, this "listening" would occur via NATS pubsub and if installed remotely, would be via API. In both cases, the distributor sidecar would handle this listening complexity for you. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hi Afzal, I think you're correct but I'll rephrase to make sure I understand the question fully. I know you know some of this stuff already so sorry for going over old ground :)
Keptn core is a bunch of microservices. Then you add other services (like the job executor service). If the other services are running on the same cluster as the core microservices, the service is said to be running
inside
the control plane. In this example, if the job executor service is running on a different cluster then it is runningremotely
oroutside
the control plane.Services can connect to keptn core in (currently) one of two ways:
If your service is running locally…