fix: probe codex forwarder via loopback exec
This commit is contained in:
@@ -279,16 +279,24 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"readinessProbe": {
|
"readinessProbe": {
|
||||||
"httpGet": {
|
"exec": {
|
||||||
"path": "/health/readiness",
|
"command": [
|
||||||
"port": "codex-api"
|
"node",
|
||||||
}
|
"-e",
|
||||||
|
"fetch('http://127.0.0.1:49280/health/readiness').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"timeoutSeconds": 2
|
||||||
},
|
},
|
||||||
"livenessProbe": {
|
"livenessProbe": {
|
||||||
"httpGet": {
|
"exec": {
|
||||||
"path": "/health/live",
|
"command": [
|
||||||
"port": "codex-api"
|
"node",
|
||||||
}
|
"-e",
|
||||||
|
"fetch('http://127.0.0.1:49280/health/live').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"timeoutSeconds": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user