Kubernetes With Bitnami and Sentry - DZone Microservices

added 19.05.2020 00:04

Share

You can now proceed to deploy the application on Kubernetes using Bitnami's Node.js Helm chart.

Therefore, before you can use the chart, you must create and publish a Docker image of the application by following these steps: Let's take a closer look at the steps in the first build stage: The result of this command is a minimal Docker image containing the application, the Node.js runtime, and all the related dependencies (including the Sentry SDK).

Next, revisit the application source code and integrate the Sentry Node SDK as follows: Bitnami's Node.js Helm chart can pull a container image of your Node.js application from a registry such as Docker Hub.

Follow the steps below: Sentry works by logging errors using a unique application DSN.

This article walks you through the process of developing a basic Node.js/Express application, deploying it on Kubernetes with Bitnami's Node.js container image and Helm chart, and monitoring errors thrown by it in real-time with Sentry.