def METHOD_NAME(self, build):
    image = yield build.render(self.image)
    env = yield self.createEnvironment(build)
    defer.returnValue({
        "apiVersion": "v1",
        "kind": "Pod",
        "metadata": {
            "name": self.getContainerName()
        },
        "spec": {
            "containers": [{
                "name":
                self.getContainerName(),
                "image": image,
                "env": [{
                    "name": k,
                    "value": v
                } for k, v in env.items()],
                "resources": (yield self.getBuildContainerResources(build))
            }] + (yield self.getServicesContainers(build)),
            "restartPolicy":
            "Never"
        }
    })