forked from LaconicNetwork/kompose
86 lines
1.8 KiB
JSON
86 lines
1.8 KiB
JSON
{
|
|
"kind": "List",
|
|
"apiVersion": "v1",
|
|
"metadata": {},
|
|
"items": [
|
|
{
|
|
"kind": "Service",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "foo",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "foo"
|
|
},
|
|
"annotations": {
|
|
"kompose.cmd": "%CMD%",
|
|
"kompose.version": "%VERSION%"
|
|
}
|
|
},
|
|
"spec": {
|
|
"ports": [
|
|
{
|
|
"name": "headless",
|
|
"port": 55555,
|
|
"targetPort": 0
|
|
}
|
|
],
|
|
"selector": {
|
|
"io.kompose.service": "foo"
|
|
},
|
|
"clusterIP": "None"
|
|
},
|
|
"status": {
|
|
"loadBalancer": {}
|
|
}
|
|
},
|
|
{
|
|
"kind": "Deployment",
|
|
"apiVersion": "extensions/v1beta1",
|
|
"metadata": {
|
|
"name": "foo",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "foo"
|
|
},
|
|
"annotations": {
|
|
"kompose.cmd": "%CMD%",
|
|
"kompose.version": "%VERSION%"
|
|
}
|
|
},
|
|
"spec": {
|
|
"replicas": 1,
|
|
"template": {
|
|
"metadata": {
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "foo"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "foo",
|
|
"image": "redis",
|
|
"resources": {
|
|
"limits": {
|
|
"cpu": "10m",
|
|
"memory": "52428800"
|
|
},
|
|
"requests": {
|
|
"cpu": "1m",
|
|
"memory": "20971520"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"restartPolicy": "Always"
|
|
}
|
|
},
|
|
"strategy": {}
|
|
},
|
|
"status": {}
|
|
}
|
|
]
|
|
}
|