Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Update Spark Plugin to v1beta2 #134

Merged
merged 3 commits into from
Oct 30, 2020
Merged

Update Spark Plugin to v1beta2 #134

merged 3 commits into from
Oct 30, 2020

Conversation

akhurana001
Copy link
Contributor

@akhurana001 akhurana001 commented Oct 27, 2020

Move spark plugin to v1beta2 multi-version of Operator. Ref: flyteorg/flyte#573

@akhurana001 akhurana001 marked this pull request as draft October 27, 2020 05:05
@akhurana001 akhurana001 requested a review from kumare3 October 27, 2020 21:16
@akhurana001 akhurana001 marked this pull request as ready for review October 27, 2020 21:16
@akhurana001 akhurana001 changed the title spark v1beta2 Update Spark v1beta2 Oct 27, 2020
@akhurana001 akhurana001 changed the title Update Spark v1beta2 [WIP] Update Spark Plugin to v1beta2 Oct 28, 2020
@@ -17,7 +17,7 @@ import (
"github.com/lyft/flyteplugins/go/tasks/pluginmachinery/utils"
"k8s.io/client-go/kubernetes/scheme"

sparkOp "github.com/GoogleCloudPlatform/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1beta1"
sparkOp "github.com/GoogleCloudPlatform/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1beta2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats it no changes in the API?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some change like types of some fields in the Spec has changed but we don't use that in flyteplugins i.e. only set those config via spark_conf. The one other change is see is that status is now a sub-resource and the operator needs additional perms for the same.

@kumare3
Copy link
Contributor

kumare3 commented Oct 29, 2020

When you do this, can you also change the oss flyte deployment to deploy the new version?

@kumare3 kumare3 self-requested a review October 29, 2020 22:36
@akhurana001
Copy link
Contributor Author

When you do this, can you also change the oss flyte deployment to deploy the new version?

Will do in flyteorg/flyte#573 once I create a new propeller release .

@akhurana001 akhurana001 changed the title [WIP] Update Spark Plugin to v1beta2 Update Spark Plugin to v1beta2 Oct 30, 2020
@akhurana001 akhurana001 merged commit 76c110c into master Oct 30, 2020
@akhurana001 akhurana001 deleted the v1beta2 branch October 30, 2020 06:00
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
* spark v1beta2

* update spark-operator

* update spark-operator
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants