This repository has been archived by the owner on Jan 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
ARXIVNG-3742: Initial Compiler Service development instance in GC #31
Draft
DavidLFielding
wants to merge
28
commits into
develop
Choose a base branch
from
ARXIVNG-3742
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
… services. [ARXIVNG-3742] David
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 PR contains scripts and configuration files to deploy a development Compiler Service in Google Cloud Kubernetes. It should be straight forward to deploy this to Phoenix and then add a compile.phoenix.arxiv.org host but I'm waiting to see if the upcoming Submission UI work impacts the Compiler Service before doing so.
There are scripts to create a Kubernetes cluster and a Redis cluster (outside of Kubernetes). The remaining scripts assume that the Kubernetes and Redis cluster exist.
The development compiler service uses localstack (temporary) so you currently need to set the endpoint in the compiler-configmap.yaml. I plan to automate this shortly and will delete this line when complete.
There are scripts to update specific pieces of the compiler service. The script that brings up everything is compiler-deploy_all.sh. This script loads the configmap, requests persistent storage claims, and deploys compiler api, compiler worker, storage service (development/temporary) , and an nfs service (experimental).
There are additional scripts to delete the entire cluster or specific deployments.
I've added a helper script to request compilation (to save you from crafting curl requests) that is currently 'compile_announced.pl'.
There are still things that need to be improved so the compiler service will continue to change during the next sprint where the Submission Ui will be the main focus.