You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2023/12/11 20:11:00 UTC
[jira] [Updated] (SPARK-46368) Support `/readyz` API
[ https://issues.apache.org/jira/browse/SPARK-46368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-46368:
----------------------------------
Description:
Like https://kubernetes.io/docs/reference/using-api/health-checks/, we need to provide `/readyz` API.
As a workaround, we can use the following.
{code}
readinessProbe:
exec:
command: ["sh", "-c", "! (curl -s http://localhost:6066/v1/submissions/status/none | grep -q STANDBY)"]
{code}
was:Like https://kubernetes.io/docs/reference/using-api/health-checks/, we need to provide `/readyz` API.
> Support `/readyz` API
> ---------------------
>
> Key: SPARK-46368
> URL: https://issues.apache.org/jira/browse/SPARK-46368
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Dongjoon Hyun
> Priority: Major
>
> Like https://kubernetes.io/docs/reference/using-api/health-checks/, we need to provide `/readyz` API.
> As a workaround, we can use the following.
> {code}
> readinessProbe:
> exec:
> command: ["sh", "-c", "! (curl -s http://localhost:6066/v1/submissions/status/none | grep -q STANDBY)"]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org