Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Set proper boot actuator endpoint configuration when deploying apps. #4753

@CEDDM

Description

@CEDDM

Description:
The info endpoint is no more enabled by default with Spring Boot 2.5 https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.5-Release-Notes#secure-info-endpoint
This causes the app to be stucked in "Deploying" state in Kubernetes with this error : Readiness probe failed: HTTP Probe failed with statuscode: 404

Release versions:
Tested with SCDF 2.9.1 and Spring Boot 2.5.5 under microk8s 1.18.20

Steps to reproduce:
Create a dummy processor and deploy it in Kubernetes with a simple stream like time | my-processor | log

Additional context:
A simple workaround is to add management.endpoints.web.exposure.include=health,info in application.properties to enable info endpoint.
But wouldn't it be nice if Skipper does that for us ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions