Skip to content

feat: AE-892 - Lock the network volume region - #67

Merged
deanq merged 5 commits into
mainfrom
feat/ae-892-lock-nv
Jul 21, 2025
Merged

feat: AE-892 - Lock the network volume region#67
deanq merged 5 commits into
mainfrom
feat/ae-892-lock-nv

Conversation

@pandyamarut

Copy link
Copy Markdown
Contributor
config =LiveServerless(
    name="my-endpoint"
)
# This  will automatically create a network volume named "my-endpoint-volume" with 10GB. 

Option 2:

config=LiveServerless(
name="my-endpoint",
networkVolume="vol-abc123def456"  # Existing volume ID
)
# Uses the existing network volume with that ID

Option 3:

# Create a custom network volume configuration
custom_volume = NetworkVolume(
    name="my-custom-volume",
    size=50  # 50GB
)

serverless = LiveServerless(
    name="my-endpoint",
    networkVolume=custom_volume
)
# Will deploy the custom network volume first, then attach it to the serverless endpoint

Signed-off-by: pandyamarut <pandyamarut@gmail.com>
@pandyamarut
pandyamarut requested a review from deanq July 11, 2025 01:03
Comment thread src/tetra_rp/core/resources/network_volume.py
Comment thread src/tetra_rp/core/resources/serverless.py Outdated
Comment thread src/tetra_rp/core/resources/serverless.py Outdated
Comment thread src/tetra_rp/core/resources/serverless.py Outdated
Comment thread src/tetra_rp/core/resources/serverless.py Outdated
Comment thread src/tetra_rp/core/resources/serverless.py
Comment thread src/tetra_rp/core/resources/serverless.py Outdated
@deanq

deanq commented Jul 18, 2025

Copy link
Copy Markdown
Member

Be sure to run make check after all your changes. You can ignore the mypy warnings. We can address those later. They don't block CI/CD for now.

@pandyamarut
pandyamarut requested a review from deanq July 21, 2025 05:39
Signed-off-by: pandyamarut <pandyamarut@gmail.com>
Signed-off-by: pandyamarut <pandyamarut@gmail.com>
Signed-off-by: pandyamarut <pandyamarut@gmail.com>
@deanq
deanq merged commit 2b7a3ea into main Jul 21, 2025
7 checks passed
@deanq
deanq deleted the feat/ae-892-lock-nv branch July 21, 2025 21:19
@github-actions github-actions Bot mentioned this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants