This the sample payload for the template created via endpoint
URL: https://rest.runpod.io/v1/templates POST
"{"advancedStart": false,"containerDiskInGb": 5,"containerRegistryAuthId": null,"dockerArgs": "{}","earned": 0,"env": [{ "key": "MAX_CONCURRENT_JOBS_PER_WORKER", "value": "2", "__typename": "EnvironmentVariable"},{ "key": "LOAD_STRATEGY", "value": "job_count", "__typename": "EnvironmentVariable"},{ "key": "AGENT_ID", "value": "9127fa68-dcaa-43bb-a380-a8bfe71a9ed5", "__typename": "EnvironmentVariable"},{ "key": "WORKLOAD_ID", "value": "ea681f24-2ef4-44b7-b841-adf160988529", "__typename": "EnvironmentVariable"},{ "key": "ROUTING_KEY", "value": "sample-workload-agent-test-pool", "__typename": "EnvironmentVariable"}],"id": "6bzor5yh","imageName": "image_url","isPublic": false,"isRunpod": false,"isVerified": false,"isServerless": true,"name": "template-name","ports": null,"portsConfig": [],"readme": "CPU-based agent template for serverless deployment","runtimeInMin": 0,"startJupyter": true,"startScript": null,"startSsh": true,"volumeInGb": 0,"volumeMountPath": "/workspace","config": {"templateId": "6bzor5ydoh"},"category": "CPU","__typename": "PodTemplate"}"
And the payload for the endpoint creation request is as following:
URL: https://rest.runpod.io/v1/endpoints POST
"{"name": "ea681f24-2ef4-44b7-b841-adf16098","templateId": "6bzor5yd","computeType": "CPU","cpuFlavorIds": ["cpu3c","cpu5c"],"workersMin": 0,"workersMax": 5,"scalerType": "QUEUE_DELAY","scalerValue": 4,"idleTimeout": 5,"executionTimeoutMs": 600000,"dataCenterIds": []}"
But still a GPU endpoint is getting created!
#Serverless CPU endpoint not getting created
1 messages · Page 1 of 1 (latest)
@plush bobcat
Zendesk Escalation
We'd like to open a support ticket for this thread. Please click the button below to get started.