EB-10: Update Kubernetes deployment configuration for Spring Boot 3.4.9 compatibility #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket Reference
Epic: EB-1 (Spring Boot Upgrade)
Ticket: EB-10
Risk Level: LOW
Summary
This PR updates the Kubernetes deployment configuration for Spring Boot 3.4.9 compatibility, addressing configuration management, graceful shutdown, health probes, and actuator endpoint configuration.
Changes Made
1. Spring Boot Version Upgrade
pom.xmlspring-boot-starter-actuatordependency for health probe support2. Kubernetes Deployment Configuration (
kubernetes/bankapp-deployment.yml)terminationGracePeriodSeconds: 30for graceful shutdown support/actuator/health/readiness/actuator/health/liveness3. Application Configuration (
src/main/resources/application.properties)4. Helm Template Alignment (
helm/bankapp/templates/deployment.yml)terminationGracePeriodSeconds: 305. Comprehensive Documentation
EB-10-IMPLEMENTATION-NOTES.mdwith:Key Spring Boot 3.4.9 Compatibility Features
Graceful Shutdown
Health Probe Endpoints
/actuator/health/readinessand/actuator/health/livenessmanagement.endpoint.health.probes.enabled=trueActuator Security
healthandinfoendpoints exposedConfiguration Management
The repository uses both standalone Kubernetes manifests and Helm charts. This PR maintains consistency between both approaches:
Breaking Changes
None - All changes are backward compatible.
Testing Recommendations
1. Build and Local Testing
2. Kubernetes Deployment Testing
3. Graceful Shutdown Testing
Success Criteria
Security Considerations
healthandinfoonlyReferences
EB-10-IMPLEMENTATION-NOTES.mdfor comprehensive documentationDeployment Impact
kubectl rollout undoif neededLink to Devin run: https://app.devin.ai/sessions/c02e23d52ef24d829b9312be7e125640
Requested by: Alex Peng (alex.peng@windsurf.com) / @alexjpeng