Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(jobbergate-agent): Set sensible defaults for jobbergate-agent #687

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jobbergate-agent/jobbergate_agent/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Settings(BaseSettings):
DEFAULT_SLURM_WORK_DIR: Path = Path("/tmp")

# cluster api info
BASE_API_URL: str = "https://armada-k8s.staging.omnivector.solutions"
BASE_API_URL: str = "https://apis.vantagehpc.io"

# Sentry
SENTRY_DSN: Optional[AnyHttpUrl] = None
Expand All @@ -41,7 +41,7 @@ class Settings(BaseSettings):
SENTRY_PROFILING_SAMPLE_RATE: Annotated[float, confloat(gt=0.0, le=1.0)] = 0.01

# OIDC config for machine-to-machine security
OIDC_DOMAIN: str
OIDC_DOMAIN: str = "auth.vantagehpc.io/realms/vantage"
OIDC_CLIENT_ID: str
OIDC_CLIENT_SECRET: str
OIDC_USE_HTTPS: bool = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class JobSubmission(CrudMixin, Base):
slurm_job_id: The id of the job in the slurm queue.
slurm_job_state: The Slurm Job state as reported by the agent
slurm_job_info: Detailed information about the Slurm Job as reported by the agent
client_id: The id of the custer this submission runs on.
client_id: The id of the cluster this submission runs on.
status: The status of the job submission.
report_message: The message returned by the job.
sbatch_arguments: The arguments used to submit the job to the slurm queue.
Expand Down
Loading