URL-5 Added Kubernetes manifests, services and deployments. Also included Ingress and namespace and service configs.
This commit is contained in:
28
k8s/base/configmaps/application-config.yaml
Normal file
28
k8s/base/configmaps/application-config.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: application-config
|
||||
namespace: urlshortener
|
||||
labels:
|
||||
app: urlshortener
|
||||
data:
|
||||
# Spring Boot Actuator configuration
|
||||
management.endpoints.web.exposure.include: "health,info,metrics,prometheus"
|
||||
management.endpoint.health.probes.enabled: "true"
|
||||
management.health.livenessState.enabled: "true"
|
||||
management.health.readinessState.enabled: "true"
|
||||
|
||||
# Logging configuration
|
||||
logging.level.root: "INFO"
|
||||
logging.level.me.lenajenichen: "DEBUG"
|
||||
logging.pattern.console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
|
||||
|
||||
# Application common settings
|
||||
spring.application.name: "urlshortener"
|
||||
|
||||
# Server configuration
|
||||
server.error.include-message: "always"
|
||||
server.error.include-binding-errors: "always"
|
||||
server.error.include-stacktrace: "on_param"
|
||||
server.error.include-exception: "false"
|
||||
|
||||
Reference in New Issue
Block a user