Jack
RRunPod
•Created by Jack on 10/18/2024 in #⚡|serverless
What environment variables are available in a serverless worker?
Thanks, I hadn't realised that the Serverless workers share the same env variables as the pods 👍
6 replies
RRunPod
•Created by Jack on 10/18/2024 in #⚡|serverless
What environment variables are available in a serverless worker?
Amazing, thanks!
6 replies
RRunPod
•Created by Jack on 9/24/2024 in #⚡|serverless
AWS ECR Registry Authentication
ok, thanks for confirming 👍
10 replies
RRunPod
•Created by Jack on 9/24/2024 in #⚡|serverless
AWS ECR Registry Authentication
Is there some up to date documentation for the GraqhQL API? I'm struggling to find these and other queries & mutations. The GraphQL Spec here seems to be out of date and doesn't have the endpoints you've mentioned. This doesn't prevent me from using the mutations you've mentioned but it would be nice to know what else I can do with this API
10 replies
RRunPod
•Created by Jack on 9/24/2024 in #⚡|serverless
AWS ECR Registry Authentication
Ah that looks perfect! Exactly what I was looking for. Thanks for sending this over. I wasn't able to find this from the docs or the GraphQL reference though. I'll have a look at the GitHub issue 👍
10 replies
RRunPod
•Created by Jack on 9/24/2024 in #⚡|serverless
AWS ECR Registry Authentication
Thanks for getting back @yhlong00000. To confirm, this would look like calling the
saveRegistryAuth
GraphQL mutation every couple of hours which looks like it would create a new credential each time. And then, with this new credential we'd need to update the template using the saveTemplate
mutation (including the template ID to distinguish between creating and updating the template). Does this sound right to you?10 replies
RRunPod
•Created by Jack on 9/24/2024 in #⚡|serverless
AWS ECR Registry Authentication
Ah yes, there is a thread discussing this issue however I was unable to find it initally due to the incorrectly named post title. For ref it is this post.
Unfortunately this post does not resolve the second point in my question with regards to the 12 hour expiry of the AWS provided password. This makes using AWS ECR very limited as, realistically, only public container images could be used because the credentials to get a private image would otherwise expire after 12 hours. The AWS documentation on this is here.
Are there any work arounds for this and does RunPod plan to support AWS credentials in the near future?
10 replies