265 lines
7.2 KiB
JSON
265 lines
7.2 KiB
JSON
{
|
|
"kind":"PodList",
|
|
"apiVersion":"v1",
|
|
"metadata":{
|
|
"selfLink":"/api/v1/pods",
|
|
"resourceVersion":"53225946",
|
|
"continue":"eyJ2IjoibWV0YS5rOHMua"
|
|
},
|
|
"items":[
|
|
{
|
|
"metadata":{
|
|
"name":"my-ruby-project-2-build",
|
|
"namespace":"my-project",
|
|
"selfLink":"/api/v1/namespaces/my-project/pods/my-ruby-project-2-build",
|
|
"uid":"0c478b50-babb-11e8-ba7e-d094660d31fb",
|
|
"resourceVersion":"42398462",
|
|
"creationTimestamp":"2018-09-17T20:48:36Z",
|
|
"deletionTimestamp":"2018-09-19T13:22:50Z",
|
|
"deletionGracePeriodSeconds":0,
|
|
"labels":{
|
|
"openshift.io/build.name":"my-ruby-project-2"
|
|
},
|
|
"annotations":{
|
|
"openshift.io/build.name":"my-ruby-project-2",
|
|
"openshift.io/scc":"privileged"
|
|
},
|
|
"ownerReferences":[
|
|
{
|
|
"apiVersion":"build.openshift.io/v1",
|
|
"kind":"Build",
|
|
"name":"my-ruby-project-2",
|
|
"uid":"0c450e6d-babb-11e8-ba7e-d094660d31fb",
|
|
"controller":true
|
|
}
|
|
],
|
|
"finalizers":[
|
|
"foregroundDeletion"
|
|
]
|
|
},
|
|
"spec":{
|
|
"volumes":[
|
|
{
|
|
"name":"buildworkdir",
|
|
"emptyDir":{
|
|
|
|
}
|
|
},
|
|
{
|
|
"name":"docker-socket",
|
|
"hostPath":{
|
|
"path":"/var/run/docker.sock",
|
|
"type":""
|
|
}
|
|
},
|
|
{
|
|
"name":"crio-socket",
|
|
"hostPath":{
|
|
"path":"/var/run/crio/crio.sock",
|
|
"type":""
|
|
}
|
|
},
|
|
{
|
|
"name":"builder-dockercfg-rjgnm-push",
|
|
"secret":{
|
|
"secretName":"builder-dockercfg-rjgnm",
|
|
"defaultMode":384
|
|
}
|
|
},
|
|
{
|
|
"name":"builder-token-zkpb6",
|
|
"secret":{
|
|
"secretName":"builder-token-zkpb6",
|
|
"defaultMode":420
|
|
}
|
|
}
|
|
],
|
|
"containers":[
|
|
{
|
|
"name":"sti-build",
|
|
"image":"openshift3/ose-sti-builder:v3.9.25",
|
|
"command":[
|
|
"openshift-sti-build"
|
|
]
|
|
}
|
|
],
|
|
"restartPolicy":"Never",
|
|
"terminationGracePeriodSeconds":30,
|
|
"dnsPolicy":"ClusterFirst",
|
|
"nodeSelector":{
|
|
"node-role.kubernetes.io/compute":"true"
|
|
},
|
|
"serviceAccountName":"builder",
|
|
"serviceAccount":"builder",
|
|
"nodeName":"dell-r430-20.example.com",
|
|
"securityContext":{
|
|
|
|
},
|
|
"imagePullSecrets":[
|
|
{
|
|
"name":"builder-dockercfg-rjgnm"
|
|
}
|
|
],
|
|
"schedulerName":"default-scheduler"
|
|
},
|
|
"status":{
|
|
"phase":"Failed",
|
|
"conditions":[
|
|
{
|
|
"type":"Initialized",
|
|
"status":"True",
|
|
"lastProbeTime":null,
|
|
"lastTransitionTime":"2018-09-17T20:48:49Z"
|
|
},
|
|
{
|
|
"type":"Ready",
|
|
"status":"False",
|
|
"lastProbeTime":null,
|
|
"lastTransitionTime":"2018-09-17T20:49:08Z",
|
|
"reason":"ContainersNotReady",
|
|
"message":"containers with unready status: [sti-build]"
|
|
},
|
|
{
|
|
"type":"PodScheduled",
|
|
"status":"True",
|
|
"lastProbeTime":null,
|
|
"lastTransitionTime":"2018-09-17T20:48:36Z"
|
|
}
|
|
],
|
|
"hostIP":"10.8.96.55",
|
|
"podIP":"10.129.0.207",
|
|
"startTime":"2018-09-17T20:48:36Z",
|
|
"qosClass":"BestEffort"
|
|
}
|
|
},
|
|
{
|
|
"metadata":{
|
|
"name":"redis-1-94zxb",
|
|
"generateName":"redis-1-",
|
|
"namespace":"customer-logging",
|
|
"selfLink":"/api/v1/namespaces/customer-logging/pods/redis-1-94zxb",
|
|
"uid":"a8aea5f4-5f91-11e8-ba7e-d094660d31fb",
|
|
"resourceVersion":"47622190",
|
|
"creationTimestamp":"2018-05-24T20:33:03Z",
|
|
"labels":{
|
|
"app":"elastic-log-ripper",
|
|
"deployment":"redis-1",
|
|
"deploymentconfig":"redis",
|
|
"name":"redis"
|
|
},
|
|
"annotations":{
|
|
"openshift.io/deployment-config.latest-version":"1",
|
|
"openshift.io/deployment-config.name":"redis",
|
|
"openshift.io/deployment.name":"redis-1",
|
|
"openshift.io/generated-by":"OpenShiftNewApp",
|
|
"openshift.io/scc":"restricted"
|
|
},
|
|
"ownerReferences":[
|
|
{
|
|
"apiVersion":"v1",
|
|
"kind":"ReplicationController",
|
|
"name":"redis-1",
|
|
"uid":"9e2e46b3-5f91-11e8-ba7e-d094660d31fb",
|
|
"controller":true,
|
|
"blockOwnerDeletion":true
|
|
}
|
|
]
|
|
},
|
|
"spec":{
|
|
"volumes":[
|
|
{
|
|
"name":"default-token-n2wzs",
|
|
"secret":{
|
|
"secretName":"default-token-n2wzs",
|
|
"defaultMode":420
|
|
}
|
|
}
|
|
],
|
|
"containers":[
|
|
{
|
|
"name":"redis",
|
|
"image":"manageiq/redis:latest",
|
|
"ports":[
|
|
{
|
|
"containerPort":6379,
|
|
"protocol":"TCP"
|
|
}
|
|
],
|
|
"resources":{
|
|
|
|
},
|
|
"volumeMounts":[
|
|
{
|
|
"name":"default-token-n2wzs",
|
|
"readOnly":true,
|
|
"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"
|
|
}
|
|
],
|
|
"terminationMessagePath":"/dev/termination-log",
|
|
"terminationMessagePolicy":"File",
|
|
"imagePullPolicy":"Always",
|
|
"securityContext":{
|
|
"capabilities":{
|
|
"drop":[
|
|
"KILL",
|
|
"MKNOD",
|
|
"SETGID",
|
|
"SETUID"
|
|
]
|
|
},
|
|
"runAsUser":1000260000
|
|
}
|
|
}
|
|
],
|
|
"restartPolicy":"Always",
|
|
"terminationGracePeriodSeconds":30,
|
|
"dnsPolicy":"ClusterFirst",
|
|
"nodeSelector":{
|
|
"node-role.kubernetes.io/compute":"true"
|
|
},
|
|
"serviceAccountName":"default",
|
|
"serviceAccount":"default",
|
|
"nodeName":"dell-r430-20.example.com",
|
|
"securityContext":{
|
|
"seLinuxOptions":{
|
|
"level":"s0:c16,c10"
|
|
},
|
|
"fsGroup":1000260000
|
|
},
|
|
"imagePullSecrets":[
|
|
{
|
|
"name":"default-dockercfg-ck286"
|
|
}
|
|
],
|
|
"schedulerName":"default-scheduler"
|
|
},
|
|
"status":{
|
|
"phase":"Running",
|
|
"conditions":[
|
|
{
|
|
"type":"Initialized",
|
|
"status":"True",
|
|
"lastProbeTime":null,
|
|
"lastTransitionTime":"2018-05-24T20:33:04Z"
|
|
},
|
|
{
|
|
"type":"Ready",
|
|
"status":"True",
|
|
"lastProbeTime":null,
|
|
"lastTransitionTime":"2018-09-18T12:06:18Z"
|
|
},
|
|
{
|
|
"type":"PodScheduled",
|
|
"status":"True",
|
|
"lastProbeTime":null,
|
|
"lastTransitionTime":"2018-05-24T20:33:03Z"
|
|
}
|
|
],
|
|
"hostIP":"10.8.96.55",
|
|
"podIP":"10.129.0.222",
|
|
"startTime":"2018-05-24T20:33:04Z",
|
|
"qosClass":"BestEffort"
|
|
}
|
|
}
|
|
]
|
|
}
|