Skip to content

Add ability to specify API group and version for Spark operators #14897

@akrava

Description

@akrava

Description

In Spark Kubernetes operator we have hard-coded API group and version for spark application k8s object:

group="sparkoperator.k8s.io",
version="v1beta2",
plural="sparkapplications",

I think it is not good, because we can have situation that some custom or not opensource Spark k8s operators can have different API group and version (like sparkoperator.mydomain.com instead of sparkoperator.k8s.io).

Use case / motivation

User have got installed custom or commercial Spark Kubernetes operator and he wants to launch DAG with SprkKubernetesOperator from providers. User cannot do that without this implemented feature.

Are you willing to submit a PR?

Yes

Related Issues

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions