def create_service(
        name,
        namespace,
        metadata,
        spec,