forked from LaconicNetwork/kompose
94 lines
2.1 KiB
JSON
94 lines
2.1 KiB
JSON
{
|
|
"kind": "List",
|
|
"apiVersion": "v1",
|
|
"metadata": {},
|
|
"items": [
|
|
{
|
|
"kind": "Service",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "client",
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "client"
|
|
},
|
|
"annotations": {
|
|
"kompose.cmd": "%CMD%",
|
|
"kompose.version": "%VERSION%"
|
|
}
|
|
},
|
|
"spec": {
|
|
"ports": [
|
|
{
|
|
"name": "1337",
|
|
"port": 1337,
|
|
"targetPort": 1337
|
|
}
|
|
],
|
|
"selector": {
|
|
"io.kompose.service": "client"
|
|
}
|
|
},
|
|
"status": {
|
|
"loadBalancer": {}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"annotations": {
|
|
"kompose.cmd": "%CMD%",
|
|
"kompose.version": "%VERSION%"
|
|
},
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "client"
|
|
},
|
|
"name": "client"
|
|
},
|
|
"spec": {
|
|
"replicas": 1,
|
|
"selector": {
|
|
"matchLabels": {
|
|
"io.kompose.service": "client"
|
|
}
|
|
},
|
|
"strategy": {},
|
|
"template": {
|
|
"metadata": {
|
|
"annotations": {
|
|
"kompose.cmd": "%CMD%",
|
|
"kompose.version": "%VERSION%"
|
|
},
|
|
"creationTimestamp": null,
|
|
"labels": {
|
|
"io.kompose.service": "client"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"image": "registry.centos.org/centos/centos:7",
|
|
"imagePullPolicy": "",
|
|
"name": "client",
|
|
"ports": [
|
|
{
|
|
"containerPort": 1337
|
|
}
|
|
],
|
|
"resources": {},
|
|
"stdin": true
|
|
}
|
|
],
|
|
"restartPolicy": "Always",
|
|
"serviceAccountName": "",
|
|
"volumes": null
|
|
}
|
|
}
|
|
},
|
|
"status": {}
|
|
}
|
|
]
|
|
}
|