def METHOD_NAME():
    result = invoke_and_assert(
        [
            "kubernetes",
            "manifest",
            "server",
            "-i",
            "test_image_tag",
            "--log-level",
            "test_log_level",
        ],
        expected_output_contains="kind: Deployment",
    )
    manifests = yaml.load_all(result.stdout, yaml.SafeLoader)
    assert manifests
    manifests = yaml.load_all(result.stdout, yaml.SafeLoader)
    assert manifests
    deployment = next(m for m in manifests if m["kind"] == "Deployment")
    assert deployment["metadata"]["name"] == "prefect-server"
    assert len(deployment["spec"]["template"]["spec"]["containers"]) == 1
    server_container = deployment["spec"]["template"]["spec"]["containers"][0]
    assert server_container["image"] == "test_image_tag"
    assert server_container["command"][5:] == ["--log-level", "test_log_level"]