{
  "kind": "List",
  "apiVersion": "v1",
  "metadata": {},
  "items": [
    {
      "kind": "Service",
      "apiVersion": "v1",
      "metadata": {
        "name": "frontend",
        "creationTimestamp": null,
        "labels": {
          "io.kompose.service": "frontend"
        },
        "annotations": {
          "kompose.service.type": "LoadBalancer",
          "kompose.cmd": "%CMD%",
          "kompose.version": "%VERSION%"
        }
      },
      "spec": {
        "ports": [
          {
            "name": "80",
            "port": 80,
            "targetPort": 80
          }
        ],
        "selector": {
          "io.kompose.service": "frontend"
        },
        "type": "LoadBalancer"
      },
      "status": {
        "loadBalancer": {}
      }
    },
    {
      "kind": "Service",
      "apiVersion": "v1",
      "metadata": {
        "name": "redis-master",
        "creationTimestamp": null,
        "labels": {
          "io.kompose.service": "redis-master"
        },
        "annotations": {
          "kompose.cmd": "%CMD%",
          "kompose.version": "%VERSION%"
        }
      },
      "spec": {
        "ports": [
          {
            "name": "6379",
            "port": 6379,
            "targetPort": 6379
          }
        ],
        "selector": {
          "io.kompose.service": "redis-master"
        }
      },
      "status": {
        "loadBalancer": {}
      }
    },
    {
      "kind": "Service",
      "apiVersion": "v1",
      "metadata": {
        "name": "redis-replica",
        "creationTimestamp": null,
        "labels": {
          "io.kompose.service": "redis-replica"
        },
        "annotations": {
          "kompose.cmd": "%CMD%",
          "kompose.version": "%VERSION%"
        }
      },
      "spec": {
        "ports": [
          {
            "name": "6379",
            "port": 6379,
            "targetPort": 6379
          }
        ],
        "selector": {
          "io.kompose.service": "redis-replica"
        }
      },
      "status": {
        "loadBalancer": {}
      }
    },
    {
      "kind": "Deployment",
      "apiVersion": "apps/v1",
      "metadata": {
        "name": "frontend",
        "creationTimestamp": null,
        "labels": {
          "io.kompose.service": "frontend"
        },
        "annotations": {
          "kompose.service.type": "LoadBalancer",
          "kompose.cmd": "%CMD%",
          "kompose.version": "%VERSION%"
        }
      },
      "spec": {
        "replicas": 1,
        "template": {
          "metadata": {
            "creationTimestamp": null,
            "labels": {
              "io.kompose.service": "frontend"
            },
            "annotations": {
              "kompose.service.type": "LoadBalancer",
              "kompose.cmd": "%CMD%",
              "kompose.version": "%VERSION%"
            }
          },
          "spec": {
            "containers": [
              {
                "name": "frontend",
                "image": "gcr.io/google-samples/gb-frontend:v4",
                "ports": [
                  {
                    "containerPort": 80
                  }
                ],
                "env": [
                  {
                    "name": "GET_HOSTS_FROM",
                    "value": "dns"
                  }
                ],
                "resources": {}
              }
            ],
            "restartPolicy": "Always"
          }
        },
        "strategy": {}
      },
      "status": {}
    },
    {
      "kind": "Deployment",
      "apiVersion": "apps/v1",
      "metadata": {
        "name": "redis-master",
        "creationTimestamp": null,
        "labels": {
          "io.kompose.service": "redis-master"
        },
        "annotations": {
          "kompose.cmd": "%CMD%",
          "kompose.version": "%VERSION%"
        }
      },
      "spec": {
        "replicas": 1,
        "template": {
          "metadata": {
            "creationTimestamp": null,
            "labels": {
              "io.kompose.service": "redis-master"
            },
            "annotations": {
              "kompose.cmd": "%CMD%",
              "kompose.version": "%VERSION%"
            }
          },
          "spec": {
            "containers": [
              {
                "name": "redis-master",
                "image": "registry.k8s.io/redis:e2e",
                "ports": [
                  {
                    "containerPort": 6379
                  }
                ],
                "resources": {}
              }
            ],
            "restartPolicy": "Always"
          }
        },
        "strategy": {}
      },
      "status": {}
    },
    {
      "kind": "Deployment",
      "apiVersion": "apps/v1",
      "metadata": {
        "name": "redis-replica",
        "creationTimestamp": null,
        "labels": {
          "io.kompose.service": "redis-replica"
        },
        "annotations": {
          "kompose.cmd": "%CMD%",
          "kompose.version": "%VERSION%"
        }
      },
      "spec": {
        "replicas": 1,
        "template": {
          "metadata": {
            "creationTimestamp": null,
            "labels": {
              "io.kompose.service": "redis-replica"
            },
            "annotations": {
              "kompose.cmd": "%CMD%",
              "kompose.version": "%VERSION%"
            }
          },
          "spec": {
            "containers": [
              {
                "name": "redis-replica",
                "image": "registry.k8s.io/redis-slave:v2",
                "ports": [
                  {
                    "containerPort": 6379
                  }
                ],
                "env": [
                  {
                    "name": "GET_HOSTS_FROM",
                    "value": "dns"
                  }
                ],
                "resources": {}
              }
            ],
            "restartPolicy": "Always"
          }
        },
        "strategy": {}
      },
      "status": {}
    }
  ]
}
