@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 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
- localPod.spec.containers[0].resources.limits.memory = `${stack.memory}Mi`
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/driver-kubernetes",
3
- "version": "2.3.1-c42c80b-202404110851.0",
3
+ "version": "2.4.0",
4
4
  "description": "Kubernetes driver for FlowFuse",
5
5
  "main": "kubernetes.js",
6
6
  "scripts": {