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

Session Affinity and Compute Size in Custom Apps #108

Open
mpkrass7 opened this issue Dec 16, 2024 · 0 comments
Open

Session Affinity and Compute Size in Custom Apps #108

mpkrass7 opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mpkrass7
Copy link

I'd like to be able to set the sessionAffinity, resourceLabel, and replicas when I create an Application Source. It looks like I can already set replicas with the existing Application source but it doesn't look like there is a way to do the other two. Putting it in as a feature request!
Sample patch request below in case helpful

dr.client.get_client().patch(
        url=f"customApplicationSources/{source_id}/versions/{version_id}/",
        json={
            "resources": {
                "sessionAffinity": True,
                "resourceLabel": "cpu.xlarge",
                "replicas": 2,
            }
        },
    )
@mpkrass7 mpkrass7 added the enhancement New feature or request label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants