lone_samurai
lone_samurai
RRunPod
Created by lone_samurai on 10/27/2024 in #⛅|pods
Unable to start pod using GraphQL
I am trying to create a pod using the GraphQL endpoint but I am getting 400 status response, here are the request and response for the same. Please let me know how to get this working.
Sending GraphQL query:
mutation {
podFindAndDeployOnDemand(
input: {
cloudType: ALL
gpuCount: 1
volumeInGb: 40
containerDiskInGb: 40
minVcpuCount: 2
minMemoryInGb: 15
gpuTypeId: "NVIDIA RTX A6000"
name: "My Private Container"
imageName: "xyz/ml_worker:image_genV7.0"
dockerArgs: ""
ports: "8888/http"
volumeMountPath: "/workspace"
containerRegistryAuthId: "cm2rqsxxxxxo"
}
) {
id
imageName
machineId
}
}


Response status code: 400
Response content: {"errors":[{"message":"Something went wrong. Please try again later or contact support.","locations":[{"line":17,"column":21}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]}
Sending GraphQL query:
mutation {
podFindAndDeployOnDemand(
input: {
cloudType: ALL
gpuCount: 1
volumeInGb: 40
containerDiskInGb: 40
minVcpuCount: 2
minMemoryInGb: 15
gpuTypeId: "NVIDIA RTX A6000"
name: "My Private Container"
imageName: "xyz/ml_worker:image_genV7.0"
dockerArgs: ""
ports: "8888/http"
volumeMountPath: "/workspace"
containerRegistryAuthId: "cm2rqsxxxxxo"
}
) {
id
imageName
machineId
}
}


Response status code: 400
Response content: {"errors":[{"message":"Something went wrong. Please try again later or contact support.","locations":[{"line":17,"column":21}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]}
I am facing a similar issue when trying to fetch registryauth details
query {
myself {
containerRegistryAuth {
id
name
registryAuth
}
}
}
query {
myself {
containerRegistryAuth {
id
name
registryAuth
}
}
}
2 replies
RRunPod
Created by lone_samurai on 10/27/2024 in #⛅|pods
Differentiating between the pod state, "starting" vs "stopping"
When I start a pod and fetch it's details through the grapQL api, the "runtime" is None but when I stop it, the "runtime" is None as well. Is there a way to differentiate between these two states ?
2 replies
RRunPod
Created by lone_samurai on 10/7/2024 in #⛅|pods
Creating and managing custom containers
I want to create custom containers and I have the following requirements. Please let me know how (and if) they can be achieved via runpod. I tried looking in the docs but couldn't figure out everything. 1. I want to create containers out of image hosted on Dockerhub, that are around 50GB (or more) in size -- is there a size limit on runpod? 2. I want to start new containers (with my custom image), list them and stop them from my backend -- how can this be achieved?
5 replies