Kubernetes Native
Las aplicaciones de Quarkus están diseñadas para ejecutarse en contenedores.
La combinación de Quarkus y Kubernetes proporciona un entorno ideal para crear aplicaciones escalables, rápidas y ligeras. Quarkus aumenta significativamente la productividad de los desarrolladores con herramientas, integraciones preconstruidas, servicios de aplicaciones y mucho más.
¿Qué significa ser un marco nativo de Kubernetes?
Despliegues de un solo paso
Quarkus facilita el despliegue de aplicaciones de microservicios en Kubernetes sin tener que entender las complejidades del marco subyacente de Kubernetes. Hay extensiones disponibles para Kubernetes, y distribuciones de Kubernetes, para facilitar este proceso con solo una cantidad mínima de variables de configuración necesarias.
Using the Quarkus Kubernetes extension, developers can perform or automate a single-step deployment using Jib, Docker, and Source-to-Image (S2i) including the creation of DeploymentConfig to trigger automatic redeployments.
Read the "Kubernetes extension" guide
Additionally, Quarkus includes extensions that make it easy to deploy serverless microservices to cloud providers including AWS Lambda, Azure Functions, and Google Cloud Functions as well as Knative to take advantage of Quarkus application’s fast startup times.
Seguimiento y depuración
Quarkus proporciona a los desarrolladores las herramientas y capacidades para solucionar los problemas de las aplicaciones de microservicios distribuidos en Kubernetes, incluyendo el rastreo y la depuración.
Quarkus utilizes OpenTelemetry which is a vendor-agnostic API to help developers easily instrument tracing into their codebase. Distributed tracing helps pinpoint where failures occur and what causes poor performance.
Application Health
Quarkus leverages SmallRye Health, an implementation of the MicroProfile Health specification. This allows applications to provide information about their state to external viewers in a Kubernetes environment where automated processes must be able to determine whether the application should be discarded or restarted.
Application Metrics
Quarkus utilizes the Micrometer metrics library for runtime and application metrics. It provides a simple facade for the most popular monitoring systems to instrument your JVM-based application code without vendor lock-in. Application-specific and built-in metrics can be exposed using Micrometer.
Configuración de la aplicación
Quarkus includes an extension that allows developers to use Kubernetes ConfigMaps and Secrets as a configuration source, without having to mount them into the Pod running the Quarkus application or make any other modifications to their Kubernetes Deployment (or Openshift DeploymentConfig).
Desarrollo a distancia
Create and debug applications in the same environment where applications run. Live coding in development mode where any changes made locally will be immediately visible in a clustered Kubernetes environment.
Read the "Enhancing the development loop with Quarkus remote development" blog post