Fix telepresence local dev flow and dependency resolution#5
Open
phenix3443 wants to merge 8 commits intoperfect-panel:mainfrom
Open
Fix telepresence local dev flow and dependency resolution#5phenix3443 wants to merge 8 commits intoperfect-panel:mainfrom
phenix3443 wants to merge 8 commits intoperfect-panel:mainfrom
Conversation
chore: adopt dev branch strategy
docs: deduplicate agent instructions
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.
Summary
telepresence.shresolve the real k3sppanel-serverdependency config fromppanel-secretinstead of assuming hardcoded local MySQL and Redis endpointsup frontendrouted to the k3s backend through same-domain/apirequestsppanel-devquota, and document the new behavior in both READMEsRoot Cause
The previous script mixed together frontend and backend dependency assumptions, hardcoded MySQL and Redis targets, and inherited frontend API settings that could point at
127.0.0.1:8080even inup frontendmode. In the tested cluster, default Telepresence traffic-agent CPU limits also exceeded the remaining quota, which blocked intercept creation.Validation
bash -n telepresence.sh./telepresence.sh up both --frontend adminppanel-secretand port-forwarded them locally before starting the local serverup frontendsemantics aligned with same-domain/apirouting to the k3s backendtelepresence helm upgradeapplied reduced traffic-agent resources and that bothppanel-serverandppanel-admin-webreachedACTIVEintercept state afterwardImpact
up frontendnow behaves like a true frontend-only replacementup serverandup bothnow reuse the actual k3s dependencies by default instead of requiring separately prepared local database endpointsppanel-devenvironment