Reapply "fix: make application templates namespaced (#694)" (#719)#720
Conversation
There was a problem hiding this comment.
Let's run with it. @lfrancke indicated it was fine.
I do think we need some instructions for spark-k8s-operator users.
Release Note
Caution
In this release, SparkApplicationTemplate becomes namespace scoped.
This is a breaking change and requires manual coordination.
For those not using the SparkApplicationTemplate
Before upgrading the spark-k8s-operator, scale it down to 0, then delete the Cluster Scoped CRD for SparkApplicationTemplate.
Perform the spark-k8s-operator upgrade per release-notes.
When the operator comes up, it will create a namespace scoped SparkApplicationTemplate.
For those that do use the SparkApplicationTemplate
The SparkApplicationTemplate needs to be deleted, and it will be automatically created.
You will need to reapply your SparkApplicationTemplate after setting metadata.namespace on each. Have these ready to deploy before doing the operator upgrade.
Follow the instructions above, and then apply your namespaced SparkApplicationTemplates once the operator comes up.
I'm unsure if anything needs to be done with existing SparkApplications or jobs created by the template.
Description
see title
Definition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker