@flowfuse/driver-kubernetes 2.3.1-c42c80b-202404110851.0 → 2.4.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/CHANGELOG.md +8 -0
- package/kubernetes.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
#### 2.4.0: Release
|
|
2
|
+
|
|
3
|
+
- Revert "Add support for user set health check interval" (#152) @Steve-Mcl
|
|
4
|
+
- Add support for user set health check interval (#150) @Steve-Mcl
|
|
5
|
+
- Fix memory addition (#148) @hardillb
|
|
6
|
+
- Allow pods to use 128m extra memory for npm (#145) @hardillb
|
|
7
|
+
- Bump tar from 6.1.15 to 6.2.1 (#147) @app/dependabot
|
|
8
|
+
|
|
1
9
|
#### 2.3.0: Release
|
|
2
10
|
|
|
3
11
|
- Remove legacy code that is not used anymore (#144) @hardillb
|
package/kubernetes.js
CHANGED
|
@@ -271,7 +271,8 @@ const createDeployment = async (project, options) => {
|
|
|
271
271
|
|
|
272
272
|
if (stack.memory && stack.cpu) {
|
|
273
273
|
localPod.spec.containers[0].resources.requests.memory = `${stack.memory}Mi`
|
|
274
|
-
|
|
274
|
+
// increase limit to give npm more room to run in
|
|
275
|
+
localPod.spec.containers[0].resources.limits.memory = `${parseInt(stack.memory) + 128}Mi`
|
|
275
276
|
localPod.spec.containers[0].resources.requests.cpu = `${stack.cpu * 10}m`
|
|
276
277
|
localPod.spec.containers[0].resources.limits.cpu = `${stack.cpu * 10}m`
|
|
277
278
|
}
|