Skip to content

Releases: cloudfoundry/diego-release

2.98.0

15 Apr 19:54
Compare
Choose a tag to compare

Changes

  • Update Golang to 1.22

Bosh Job Spec changes:

diff --git a/jobs/vizzini/spec b/jobs/vizzini/spec
index 7eb920159..d61278357 100644
--- a/jobs/vizzini/spec
+++ b/jobs/vizzini/spec
@@ -1,7 +1,7 @@
 ---
 name: vizzini
 packages:
-  - golang-1.21-linux
+  - golang-1.22-linux
   - vizzini
 
 templates:

✨ Built with go 1.22.2

Full Changelog: v2.97.0...v2.98.0

Resources

2.97.0

02 Apr 21:39
Compare
Choose a tag to compare

Changes

✨ Built with go 1.21.8

Full Changelog: v2.96.0...v2.97.0

Resources

2.96.0

22 Mar 13:37
Compare
Choose a tag to compare

Changes

  • Bump to golang 1.21.8
  • Golang package dependency bumps
    • Includes moving from docker v20 to docker v26
    • Includes moving from pgx v3 to pgx v5
  • Remove references to Consul from boshrelease + documentation
  • Many fixes to remove deprecated code and otherwise fix linter violations.

✨ Built with go 1.21.8

Full Changelog: v2.95.0...v2.96.0

Resources

2.95.0

01 Mar 22:39
Compare
Choose a tag to compare

Changes

  • bbs: (Issue) Now uses DesiredLRPSchedulingInfo instead of the entire DesiredLRP when only the scheduling info is needed, resulting in a 95% decrease in time spent for relevant calls. Thanks @klapkov!

✨ Built with go 1.21.7

Full Changelog: v2.94.0...v2.95.0

Resources

2.94.0

21 Feb 15:54
Compare
Choose a tag to compare

Changes

  • Fix bosh job spec description for container_max_cpu_shares
  • dockerapplifecycle: Add OCI image spec index type to Accept header
  • vizzini: Remove CPUWeight test
  • bbs: Remove cpu_weight limits
  • guardian: Add tests for unkillable containers

Bosh Job Spec changes:

diff --git a/jobs/rep/spec b/jobs/rep/spec
index 24ce303d4..405f90f46 100644
--- a/jobs/rep/spec
+++ b/jobs/rep/spec
@@ -120,7 +120,7 @@ properties:
     description: "the max concurrent download steps that can be active"
     default: 5
   diego.executor.container_max_cpu_shares:
-    description: "the maximum number of cpu shares for a container."
+    description: "number of CPU shares per 100 CPU weight"
     default: 1024
   diego.executor.container_inode_limit:
     description: "the inode limit enforced on each garden container."
diff --git a/jobs/rep_windows/spec b/jobs/rep_windows/spec
index bd5e1db9f..0521d1061 100644
--- a/jobs/rep_windows/spec
+++ b/jobs/rep_windows/spec
@@ -116,7 +116,7 @@ properties:
     description: "the max concurrent download steps that can be active"
     default: 5
   diego.executor.container_max_cpu_shares:
-    description: "the maximum number of cpu shares for a container."
+    description: "number of CPU shares per 100 CPU weight"
     default: 10000
   diego.executor.container_inode_limit:
     description: "the inode limit enforced on each garden container."

✨ Built with go 1.21.7

Full Changelog: v2.93.0...v2.94.0

Resources

2.93.0

09 Feb 13:21
Compare
Choose a tag to compare

Changes

Bosh Job Spec changes:

diff --git a/jobs/rep/spec b/jobs/rep/spec
index 8fb49517a..24ce303d4 100644
--- a/jobs/rep/spec
+++ b/jobs/rep/spec
@@ -79,6 +79,10 @@ properties:
     description: "Cert used to communicate with local metron agent over gRPC"
   loggregator.key:
     description: "Key used to communicate with local metron agent over gRPC"
+  loggregator.app_metric_exclusion_filter:
+    description: "Array of application metrics to not emit"
+    default:
+    - cpu_entitlement
 
   diego.rep.listen_addr_admin:
     description: "serve (insecure) ping and evacuate requests on this address and port"
diff --git a/jobs/rep_windows/spec b/jobs/rep_windows/spec
index 023d76f18..bd5e1db9f 100644
--- a/jobs/rep_windows/spec
+++ b/jobs/rep_windows/spec
@@ -75,6 +75,10 @@ properties:
     description: "Cert used to communicate with local metron agent over gRPC"
   loggregator.key:
     description: "Key used to communicate with local metron agent over gRPC"
+  loggregator.app_metric_exclusion_filter:
+    description: "Array of application metrics to not emit"
+    default:
+    - cpu_entitlement
 
   diego.rep.advertise_domain:
     description: "base domain at which the rep should advertise its secure API"

✨ Built with go 1.21.7

Full Changelog: v2.92.0...v2.93.0

Resources

2.92.0

27 Jan 06:03
Compare
Choose a tag to compare

Changes

  • Buildpack path cache hash has 16 bytes

✨ Built with go 1.21.6

Full Changelog: v2.91.0...v2.92.0

Resources

2.91.0

26 Jan 14:30
Compare
Choose a tag to compare

Changes

✨ The dockerapplifecycle now supports workloads using the OCI image format. Thanks @jrussett and @ebroberson!

Bosh Job Spec changes:

diff --git a/jobs/vizzini/spec b/jobs/vizzini/spec
index a3bbc5fb2..7eb920159 100644
--- a/jobs/vizzini/spec
+++ b/jobs/vizzini/spec
@@ -85,3 +85,7 @@ properties:
   grace_busybox_image_url:
     description: "grace test asset busybox container image"
     default: "docker:///cloudfoundry/grace"
+
+  diego_docker_oci_image_url:
+    description: "diego docker app in OCI image format"
+    default: "docker:///cloudfoundry/diego-docker-app:oci"

✨ Built with go 1.21.6

Full Changelog: v2.90.0...v2.91.0

Resources

2.90.0

25 Jan 18:01
Compare
Choose a tag to compare

Changes

  • Set Content-Digest header when uploading droplets to support environment that don't have md5 available

✨ Built with go 1.21.6

Full Changelog: v2.89.0...v2.90.0

Resources

2.89.0

19 Jan 15:53
Compare
Choose a tag to compare

Changes

  • Fix BBS Port issues(#878 & #879)
  • Make max_containers configurable (#876)
  • Add xxhash as a dependency (#885)
  • Use major/minor versions of Go, instead of specific versions (#891)
  • Make jitter interval configurable. Add new config parameter: JitterFactor (cloudfoundry/route-emitter#31)

Bosh Job Spec changes:

diff --git a/jobs/rep/spec b/jobs/rep/spec
index 1383b67c0..8fb49517a 100644
--- a/jobs/rep/spec
+++ b/jobs/rep/spec
@@ -224,6 +224,10 @@ properties:
     description: "Timeout in seconds to receive a response to the keepalive ping. If a response is not received within this time, the locket client will reconnect to another server."
     default: 22
 
+  diego.rep.max_containers: 
+    description: "Maximum container capacity per rep"
+    default: 250
+
   enable_declarative_healthcheck:
     description: "When set, enables the rep to prefer the LRP CheckDefinition to healthcheck instances over the Monitor action. Requires Garden-Runc v1.10.0+"
     default: false
diff --git a/jobs/route_emitter/spec b/jobs/route_emitter/spec
index faac3b0c5..11dae3aec 100644
--- a/jobs/route_emitter/spec
+++ b/jobs/route_emitter/spec
@@ -93,6 +93,10 @@ properties:
   diego.route_emitter.bbs.max_idle_conns_per_host:
     description: "maximum number of idle http connections"
 
+  diego.route_emitter.jitter_factor:
+    description: "The jitter factor is the percentage of register interval used in determining the jitter interval (the time for which the emitter sleeps)"
+    default: 0.2
+
   diego.route_emitter.job_name:
     description: "The name of the Diego job referenced by this spec (DO NOT override)"
     default: "route_emitter"
diff --git a/jobs/route_emitter_windows/spec b/jobs/route_emitter_windows/spec
index 404c9f518..cec39c995 100644
--- a/jobs/route_emitter_windows/spec
+++ b/jobs/route_emitter_windows/spec
@@ -83,6 +83,10 @@ properties:
   diego.route_emitter.bbs.max_idle_conns_per_host:
     description: "maximum number of idle http connections"
 
+  diego.route_emitter.jitter_factor:
+    description: "The jitter factor is the percentage of register interval used in determining the jitter interval (the time for which the emitter sleeps)"
+    default: 0.2
+
   diego.route_emitter.job_name:
     description: "The name of the Diego job referenced by this spec (DO NOT override)"
     default: "route_emitter_windows"

✨ Built with go 1.21.6

Full Changelog: v2.88.0...v2.89.0

Resources