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

Private Nats message update #4215

Open
junminahn opened this issue Nov 12, 2024 · 1 comment
Open

Private Nats message update #4215

junminahn opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@junminahn
Copy link
Collaborator

junminahn commented Nov 12, 2024

Description

  • Modify the NATS message to include only request values, as limit values are no longer needed by the provisioner.

Technical Details

  • Although the dropdown includes limit values, exclude them from the NATS message.
@junminahn junminahn changed the title Copy of Resource inputs Private Nats message update Nov 12, 2024
@junminahn junminahn self-assigned this Nov 12, 2024
@junminahn
Copy link
Collaborator Author

junminahn commented Nov 15, 2024

from

{
    "name": "f16f2f-tools",
    "quota": {
        "cpu": "cpu-request-0.5-limit-1.5",
        "memory": "memory-request-2-limit-4",
        "snapshot": "snapshot-5",
        "storage": "storage-1"
    },
    "quotas": {
        "cpu": {
            "limits": 1.5,
            "requests": 0.5
        },
        "memory": {
            "limits": "4Gi",
            "requests": "2Gi"
        },
        "snapshot": {
            "count": 5
        },
        "storage": {
            "backup": "1Gi",
            "block": "1Gi",
            "capacity": "1Gi",
            "file": "1Gi",
            "pvc_count": 60
        }
    }
}

to

{
    "name": "f16f2f-tools",
    "quotas": {
        "cpu": {
            "requests": 0.5
        },
        "memory": {
            "requests": "2Gi"
        },
        "snapshot": {
            "count": 5
        },
        "storage": {
            "backup": "1Gi",
            "block": "1Gi",
            "capacity": "1Gi",
            "file": "1Gi",
            "pvc_count": 60
        }
    }
}

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

No branches or pull requests

1 participant