[
https://issues.apache.org/jira/browse/SPARK-43356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheng Pan updated SPARK-43356:
------------------------------
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();}}
{{}}}
was:
{{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();}}
{{}}}
> Migrate deprecated createOrReplace to serverSideApply
> -----------------------------------------------------
>
> Key: SPARK-43356
> URL: https://issues.apache.org/jira/browse/SPARK-43356
> Project: Spark
> Issue Type: Improvement
> Components: Kubernetes
> Affects Versions: 3.5.0
> Reporter: Cheng Pan
> Priority: Major
>
>
>
> {{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();}}
> {{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]