Skip to content

App requirements

There’re some requirements that your app should meet so we can easily manage it in the k8s cluster. Here’re the steps to check before proceeding to the deployment.

If all of these requirements are met, the deployment process will be easy, smooth and quick as most of the things are pre-configured.

  1. We use this endpoint for readiness probe. When writing the code for this endpoint, not only return 200 but also check actual service dependencies. For example, try reaching the database or any external API service you use.

    Expectations:

    • Healthy HTTP 200
    • Unhealthy HTTP 503
    • Responce time <100ms
  2. Basic application metrics for monitoring and alerting.

  3. It’s hardcoded to be 8080. If you need HTTPS, use 8443.

  4. The app is configured with environment variables

    Section titled “The app is configured with environment variables”