[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org