Migrate k8s runtime off h2 profile and raise replica floor for centralized DB#470
Open
conorheffron with Copilot wants to merge 5 commits into
Open
Migrate k8s runtime off h2 profile and raise replica floor for centralized DB#470conorheffron with Copilot wants to merge 5 commits into
h2 profile and raise replica floor for centralized DB#470conorheffron with Copilot wants to merge 5 commits into
Conversation
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot
AI
changed the title
[WIP] Migrate to Cloud Native DB and profile for k8s on GCP
Migrate k8s runtime off May 24, 2026
h2 profile and raise replica floor for centralized DB
conorheffron
marked this pull request as ready for review
May 24, 2026 16:02
conorheffron
approved these changes
Jun 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This change aligns the Kubernetes/GCP workload with a centralized database setup by removing implicit
h2runtime behavior and increasing pod scaling limits. It updates both container startup profile selection and deployment autoscaling bounds to support multi-replica operation.Runtime profile selection (container startup)
h2startup profile inDockerfilewith environment-driven profile selection.defaultprofile whenSPRING_PROFILES_ACTIVEis not provided.Kubernetes profile wiring (GCP/local deploy manifest)
SPRING_PROFILES_ACTIVE=defaultinkubernetes/deploy.ymlcontainer env to ensure non-h2workload behavior on cluster deployments.Replica and HPA scaling update
1to2.min=1/max=1tomin=2/max=4.