Mateusz
Mateusz
RRunPod
Created by Mateusz on 4/17/2024 in #⚡|serverless
Running serverless endpoint locally
Hi, I'm trying to run locally, but can't find a solution in documentation. I tried running handler with docker and outside docker. running with --rp_serve_api ERROR: [Errno 99] error while attempting to bind on address ('::1', 8000, 0, 0): cannot assign requested address running with --rp_serve_api --rp_api_host='0.0.0.0' exits with error: ERROR: [Errno -2] Name or service not known Is there some other sources I can look to solve this? Have a nice day! Mateusz
29 replies
RRunPod
Created by Mateusz on 4/15/2024 in #⚡|serverless
Modify a Serverless Template
Hi, I'm trying to automate docker image deployments. In documentation there is a method to modify serverless template (saveTemplate), but it's weird that I can't for example exclude env from curl request, it throws an error "GRAPHQL_VALIDATION_FAILED". Is there a way to just modify docker image name and not to touch any other field? Is there a way to restart endpoints that are using this template? I cannot find definition to get all endpoints or templates. Cheers! Mateusz
7 replies