Skip to content

Releases: cloudfoundry/garden-runc-release

1.52.0

16 Apr 00:05
Compare
Choose a tag to compare

Changes

  • Bump Golang to 1.22

✨ Built with go 1.22.2

Full Changelog: v1.51.0...v1.52.0

Resources

1.51.0

25 Mar 14:13
Compare
Choose a tag to compare

Changes

  • Bumped Golang to 1.21.8
  • Golang package dependency bumps
  • Many updates to get codebase passing the staticcheck linker
  • Updated garden-integration-tests to be a little less flakey

✨ Built with go 1.21.8

Full Changelog: v1.50.0...v1.51.0

Resources

1.50.0

27 Feb 02:27
Compare
Choose a tag to compare

Changes

  • Adds grootfs.routine_gc property, which allows operators to configure garden to grootfs to clean up unused container image layers whenever new containers are created.
    • Previously, to achieve this, operators had to set grootfs.reserved_space_for_other_jobs_in_mb to the same value as the ephemeral disk, which is not always easy to obtain programatically.
  • Bump go dependencies

Bosh Job Spec changes:

diff --git a/jobs/garden/spec b/jobs/garden/spec
index c84b5c43..027df351 100644
--- a/jobs/garden/spec
+++ b/jobs/garden/spec
@@ -292,6 +292,10 @@ properties:
   grootfs.tls.ca_cert:
     description: "PEM-encoded tls client CA certificate for asset upload/download"
 
+  grootfs.routine_gc:
+    description: "Set to true if you want grootfs to perform garbage collection on unused container image layers whenever a new container is created."
+    default: false
+
   grootfs.reserved_space_for_other_jobs_in_mb:
     description: "Amount of space that will be kept free for other jobs. The GrootFS store will be able to grow up to a maximum size of its disk minus this reserved space. Where the reserved space does not allow sufficient size for GrootFS to store container images and root filesystems (currently 15GB), the limit will be a soft limit, and garbage collection will attempt to keep disk space available for other jobs. -1 disables GC and allows GrootFS to potentially use the whole disk."
     default: 15360

✨ Built with go 1.21.7

Full Changelog: v1.49.0...v1.50.0

Resources

1.49.0

13 Feb 14:48
Compare
Choose a tag to compare

Changes

  • ✨guardian is a little more helpful when logging messages about containers that could not be killed, even after sending multiple SIGKILLs. In situations such as this, the only recourse is to reboot the VM, if the container processes are stuck in an unkillable state in the kernel. In addition to making this error stand out more, we've added a new metric for UnkillableContainers that guardian emits. When nonzero, there is a container that cannot be killed. See the CloudFoundrydocs for Component metrics for more info.
  • Golang package dependency bumps
  • Bumped to Golang 1.21.7

✨ Built with go 1.21.7

Full Changelog: v1.48.0...v1.49.0

Resources

1.48.0

01 Feb 18:29
Compare
Choose a tag to compare

Changes

✨ Built with go 1.21.6

Full Changelog: v1.47.0...v1.48.0

Resources

1.47.0

15 Dec 14:28
Compare
Choose a tag to compare

Changes

Bosh Job Spec changes:

diff --git a/jobs/garden/spec b/jobs/garden/spec
index abf22f8a..c84b5c43 100644
--- a/jobs/garden/spec
+++ b/jobs/garden/spec
@@ -45,11 +45,6 @@ provides:
   type: iptables
   properties:
   - garden.iptables_bin_dir
-  
-- name: max_containers
-  type: max_containers
-  properties:
-  - garden.max_containers
 
 properties:
   garden.listen_network:

✨ Built with go 1.21.5

Full Changelog: v1.46.0...v1.47.0

Resources

1.46.0

07 Dec 22:20
Compare
Choose a tag to compare

Changes

  • #314 - Add max_containers property. It is provided in a link so it is used in rep as well. Now you can increase containers past 250! Thanks @klapkov!
  • #323 - Lots of refactoring by @winkingturtle-vmw, including the ability to run the test suite in parallel! Thank you!

Bosh Job Spec changes:

diff --git a/jobs/garden/spec b/jobs/garden/spec
index c84b5c43..abf22f8a 100644
--- a/jobs/garden/spec
+++ b/jobs/garden/spec
@@ -45,6 +45,11 @@ provides:
   type: iptables
   properties:
   - garden.iptables_bin_dir
+  
+- name: max_containers
+  type: max_containers
+  properties:
+  - garden.max_containers
 
 properties:
   garden.listen_network:
diff --git a/jobs/gats/spec b/jobs/gats/spec
index 4f59d675..916a35eb 100644
--- a/jobs/gats/spec
+++ b/jobs/gats/spec
@@ -19,6 +19,9 @@ properties:
   garden_port:
     description: Port Garden is listening on
     default: 7777
+  garden_test_rootfs:
+    description: Test rootfs to use
+    default: 'docker:///cloudfoundry/garden-rootfs'
   containerd_for_processes:
     description: Run GATS with CONTAINERD_FOR_PROCESSES_ENABLED
     default: false
@@ -28,6 +31,9 @@ properties:
   cpu_throttling:
     description: Run GATS with CPU_THROTTLING_ENABLED
     default: false
+  limits_test_uri:
+    description: Limists Test rootfs to use
+    default: 'docker:///busybox'
   windows_rootfs:
     description: URL to pull the windows rootfs from
     default: ""

✨ Built with go 1.21.5

Full Changelog: v1.45.0...v1.46.0

Resources

1.45.0

01 Dec 14:52
Compare
Choose a tag to compare

Changes

  • Resolved an issue where container networking statistics could not be retrieved for apps running in containers that did not have a bash executable. Thanks @JVecsei1!
  • Removed the garden-healthchecker package after it had been removed from the boshrelease in v1.43.0

Bosh Job Spec changes:

diff --git a/jobs/garden/spec b/jobs/garden/spec
index 0d2a8fb4..c84b5c43 100644
--- a/jobs/garden/spec
+++ b/jobs/garden/spec
@@ -39,7 +39,6 @@ packages:
   - netplugin-shim
   - dontpanic
   - tini
-  - garden-runc-healthchecker
 provides:
 - name: iptables

✨ Built with go 1.21.4

Full Changelog: v1.44.0...v1.45.0

Resources

1.44.0

08 Nov 23:16
Compare
Choose a tag to compare

Changes

  • Change user for grootfs test
  • Bump golang to 1.21.4

✨ Built with go 1.21.4

Full Changelog: v1.43.0...v1.44.0

Resources

1.43.0

31 Oct 15:51
Compare
Choose a tag to compare

Changes

  • The garden-healthchecker process was found to be too aggressive when evaluating and acting upon failed healthchecks. It has been removed.

Bosh Job Spec changes:

diff --git a/jobs/garden/spec b/jobs/garden/spec
index 125909ed..0d2a8fb4 100644
--- a/jobs/garden/spec
+++ b/jobs/garden/spec
@@ -23,7 +23,6 @@ templates:
   bin/containerd_utils.erb:                 bin/containerd_utils
   bin/pre-start:                            bin/pre-start
   bin/post-start:                           bin/post-start
-  config/healthchecker.yml.erb:             config/healthchecker.yml
 
 packages:
   - guardian
@@ -309,7 +308,3 @@ properties:
   logging.format.timestamp:
     description: "Format for timestamp in component logs. Valid values are 'unix-epoch' and 'rfc3339'."
     default: "unix-epoch"
-
-  healthchecker.failure_counter_file:
-    description: "File used by the healthchecker to monitor consecutive failures."
-    default: /var/vcap/data/garden/counters/consecutive_healthchecker_failures.count

✨ Built with go 1.21.3

Full Changelog: v1.42.0...v1.43.0

Resources