@flowfuse/driver-kubernetes 2.23.2-7482a4a-202511191119.0 → 2.23.2-b15d0ae-202511191334.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 +0 -11
- package/package.json +1 -1
- package/templates.js +10 -0
package/kubernetes.js
CHANGED
|
@@ -229,17 +229,6 @@ 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
|
-
successThreshold: 1,
|
|
241
|
-
failureThreshold: 300
|
|
242
|
-
}
|
|
243
232
|
}
|
|
244
233
|
|
|
245
234
|
const ha = await project.getSetting('ha')
|
package/package.json
CHANGED
package/templates.js
CHANGED
|
@@ -56,6 +56,16 @@ const deploymentTemplate = {
|
|
|
56
56
|
],
|
|
57
57
|
securityContext: {
|
|
58
58
|
allowPrivilegeEscalation: false
|
|
59
|
+
},
|
|
60
|
+
startupProbe: {
|
|
61
|
+
httpGet: {
|
|
62
|
+
path: '/flowforge/ready',
|
|
63
|
+
port: 'management'
|
|
64
|
+
},
|
|
65
|
+
initialDelaySeconds: 5,
|
|
66
|
+
periodSeconds: 2,
|
|
67
|
+
successThreshold: 1,
|
|
68
|
+
failureThreshold: 450
|
|
59
69
|
}
|
|
60
70
|
}
|
|
61
71
|
]
|