Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-43356

Migrate deprecated createOrReplace to serverSideApply

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Kubernetes
    • None

    Description

       

       

      public interface CreateOrReplaceable<T> extends Replaceable<T> {

        /**
         * Creates a provided resource in a Kubernetes Cluster. If creation
         * fails with a HTTP_CONFLICT, it tries to replace resource.
         *
         * @return created item returned in kubernetes api response
         *
         * @deprecated please use {@link ServerSideApplicable#serverSideApply()} or attempt a create and edit/patch operation.
         */
        @Deprecated
        T createOrReplace();

       

        /**
         * Creates an item
         *
         * @return the item from the api server
         */
        T create();
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chengpan Cheng Pan
            chengpan Cheng Pan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment