{ "kind": "List", "apiVersion": "v1", "metadata": {}, "items": [ { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "geo-cache-service" }, "spec": { "ports": [ { "protocol": "TCP", "port": 9736, "targetPort": 0, "nodePort": 0 } ], "selector": { "ha-cache": "geo" }, "type": "ClusterIP", "sessionAffinity": "None" } }, { "kind": "ReplicationController", "apiVersion": "v1", "metadata": { "name": "geo-cache", "labels": { "ha-cache": "geo" } }, "spec": { "replicas": 4, "selector": { "ha-cache": "geo" }, "template": { "metadata": { "labels": { "ha-cache": "geo" } }, "spec": { "containers": [ { "name": "geo-cache-container", "image": "myimages/geo-cache", "ports": [ { "hostPort": 9736, "containerPort": 9736, "protocol": "TCP" } ] } ] } } } } ] }