@flowfuse/driver-kubernetes 2.23.2-dd06d1c-202511170924.0 → 2.23.2-e13c08d-202511191025.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kubernetes.js +9 -0
- package/package.json +1 -1
package/kubernetes.js
CHANGED
|
@@ -229,6 +229,15 @@ const createDeployment = async (project, options) => {
|
|
|
229
229
|
}
|
|
230
230
|
if (this._app.config.driver.options?.projectProbes?.startupProbe) {
|
|
231
231
|
localPod.spec.containers[0].startupProbe = this._app.config.driver.options.projectProbes.startupProbe
|
|
232
|
+
} else {
|
|
233
|
+
localPod.spec.containers[0].startupProbe = {
|
|
234
|
+
httpGet: {
|
|
235
|
+
path: '/flowforge/ready',
|
|
236
|
+
port: deploymentTemplate.spec.template.spec.containers[0].ports[1].name
|
|
237
|
+
},
|
|
238
|
+
initialDelaySeconds: 5,
|
|
239
|
+
periodSeconds: 2
|
|
240
|
+
}
|
|
232
241
|
}
|
|
233
242
|
|
|
234
243
|
const ha = await project.getSetting('ha')
|