If you don’t receive an email, then:
-
Either the API Rule may not have been setup correctly.
-
Or some of the environment variables haven’t been set correctly.
To check if your API Rule has been setup correctly, verify that it looks as shown in the screenshot below.
To verify your environment variables, go to Workloads > Functions > event-consumer.
Then, verify that the values of the SENDGRID_API_KEY & SENDGRID_SENDER_EMAIL environment variables are correct.
-
Within the cdc namespace, go to Workloads > Pods to see the list of all running pods.
-
To see the logs of the serverless function, go to the function in the Kyma console and view the Logs in the expandable window at the bottom of the page.
-
Optionally, use the following kubectl command to get the list of pods running in the cdc namespace.
kubectl get pods -n cdc
-
Then, to see the logs of any of the pods, use the following syntax:
kubectl logs <pod-name> -n <namespace>
Example:
kubectl logs event-consumer-build-gz5tp-wpw8h -n cdc
🏠 |
---|