How can I create a pod with public ip using graphql?
When I create a pod using GraphQL, the supportPublicIp parameter doesn't take effect. The created pod's IP address is private, not public.
9 Replies
What is it like (the private IP)?
Can give a screenshot of what you mean maybe
{
"data": {
"myself": {
"pods": [
{
"id": "xxxxx",
"name": "basic",
"runtime": {
"uptimeInSeconds": 5,
"ports": [
{
"ip": "xxxxx",
"isIpPublic": false,
"privatePort": 19123,
"publicPort": 60691,
"type": "http"
},
{
"ip": "xxxxx",
"isIpPublic": false,
"privatePort": 3000,
"publicPort": 60693,
"type": "http"
},
{
"ip": "xxxxx",
"isIpPublic": false,
"privatePort": 8888,
"publicPort": 60692,
"type": "http"
}
],
"gpus": [
{
"id": "GPU-xxxxx",
"gpuUtilPercent": 0,
"memoryUtilPercent": 0
}
],
"container": {
"cpuPercent": 26,
"memoryPercent": 0
}
}
}
]
}
}
}
The return of the list is just like above
Oh well its a bug then? It shouldn't output xxxx I guess or it means it's not usable
@shydow
Escalated To Zendesk
The thread has been escalated to Zendesk!
Can you share ur query too
query like this:
mutation {
podFindAndDeployOnDemand(
input: {
name: "basic"
volumeInGb: 0
containerDiskInGb: 100
gpuCount: 1
cloudType: SECURE
gpuTypeId: "NVIDIA RTX 2000 Ada Generation"
templateId: "xxxxx"
}
) {
id
imageName
env
machineId
machine {
podHostId
}
}
}
Have there been any updates, by any chance?
In tickets?
did you use secure cloud?
yes
secure cloud
Is there any update on this issue? Sorry, I’m not sure how to track the status of the ticket.