{ "kind": "List", "apiVersion": "v1", "metadata": {}, "items": [ { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "db", "creationTimestamp": null, "labels": { "io.kompose.service": "db" }, "annotations": { "com.example.description": "Postgres Database", "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" } }, "spec": { "ports": [ { "name": "5432", "port": 5432, "targetPort": 5432 } ], "selector": { "io.kompose.service": "db" } }, "status": { "loadBalancer": {} } }, { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "redis", "creationTimestamp": null, "labels": { "io.kompose.service": "redis" }, "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" } }, "spec": { "ports": [ { "name": "6379", "port": 6379, "targetPort": 6379 } ], "selector": { "io.kompose.service": "redis" } }, "status": { "loadBalancer": {} } }, { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "result", "creationTimestamp": null, "labels": { "io.kompose.service": "result" }, "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" } }, "spec": { "ports": [ { "name": "5001", "port": 5001, "targetPort": 80 } ], "selector": { "io.kompose.service": "result" } }, "status": { "loadBalancer": {} } }, { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "vote", "creationTimestamp": null, "labels": { "io.kompose.service": "vote" }, "annotations": { "com.example.description": "Vote", "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" } }, "spec": { "ports": [ { "name": "5000", "port": 5000, "targetPort": 80 } ], "selector": { "io.kompose.service": "vote" } }, "status": { "loadBalancer": {} } }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "annotations": { "com.example.description": "Postgres Database", "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "db" }, "name": "db" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "io.kompose.service": "db" } }, "strategy": {}, "template": { "metadata": { "annotations": { "com.example.description": "Postgres Database", "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "db" } }, "spec": { "containers": [ { "image": "postgres:9.4", "imagePullPolicy": "", "name": "db", "ports": [ { "containerPort": 5432 } ], "resources": {} } ], "restartPolicy": "Always", "serviceAccountName": "", "volumes": null } } }, "status": {} }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "redis" }, "name": "redis" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "io.kompose.service": "redis" } }, "strategy": {}, "template": { "metadata": { "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "redis" } }, "spec": { "containers": [ { "image": "redis:alpine", "imagePullPolicy": "", "name": "redis", "ports": [ { "containerPort": 6379 } ], "resources": {} } ], "restartPolicy": "Always", "serviceAccountName": "", "volumes": null } } }, "status": {} }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "result" }, "name": "result" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "io.kompose.service": "result" } }, "strategy": {}, "template": { "metadata": { "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "result" } }, "spec": { "containers": [ { "image": "tmadams333/example-voting-app-result:latest", "imagePullPolicy": "", "name": "result", "ports": [ { "containerPort": 80 } ], "resources": {} } ], "restartPolicy": "Always", "serviceAccountName": "", "volumes": null } } }, "status": {} }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "annotations": { "com.example.description": "Vote", "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "vote" }, "name": "vote" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "io.kompose.service": "vote" } }, "strategy": {}, "template": { "metadata": { "annotations": { "com.example.description": "Vote", "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "vote" } }, "spec": { "containers": [ { "image": "docker/example-voting-app-vote:latest", "imagePullPolicy": "", "name": "vote", "ports": [ { "containerPort": 80 } ], "resources": {} } ], "restartPolicy": "Always", "serviceAccountName": "", "volumes": null } } }, "status": {} }, { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "worker" }, "name": "worker" }, "spec": { "replicas": 1, "selector": { "matchLabels": { "io.kompose.service": "worker" } }, "strategy": {}, "template": { "metadata": { "annotations": { "kompose.cmd": "%CMD%", "kompose.version": "%VERSION%" }, "creationTimestamp": null, "labels": { "io.kompose.service": "worker" } }, "spec": { "containers": [ { "image": "docker/example-voting-app-worker:latest", "imagePullPolicy": "", "name": "worker", "resources": {} } ], "restartPolicy": "Always", "serviceAccountName": "", "volumes": null } } }, "status": {} } ] }