Skip to content

Releases: cloudfoundry/diego-release

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

2.88.0

28 Dec 20:28
Compare
Choose a tag to compare

Changes

-Bumps golang.org/x/crypto/ssh to v0.17.0 to address CVE-2023-48795.

✨ Built with go 1.21.5

Full Changelog: v2.87.0...v2.88.0

Resources

2.87.0

15 Dec 16:55
Compare
Choose a tag to compare

Changes

Reverted max_containers changes #873

Bosh Job Spec changes:

diff --git a/jobs/rep/spec b/jobs/rep/spec
index 5c0ec9576..1383b67c0 100644
--- a/jobs/rep/spec
+++ b/jobs/rep/spec
@@ -30,11 +30,6 @@ packages:
   - proxy
   - certsplitter
 
-consumes:
-- name: max_containers
-  type: max_containers
-  optional: true
-
 properties:
   bpm.enabled:
     description: "use the BOSH Process Manager to manage the cell rep process."

✨ Built with go 1.21.5

Full Changelog: v2.86.0...v2.87.0

Resources

2.86.0

07 Dec 13:37
Compare
Choose a tag to compare

Changes

Bosh Job Spec changes:

diff --git a/jobs/rep/spec b/jobs/rep/spec
index 1383b67c0..5c0ec9576 100644
--- a/jobs/rep/spec
+++ b/jobs/rep/spec
@@ -30,6 +30,11 @@ packages:
   - proxy
   - certsplitter
 
+consumes:
+- name: max_containers
+  type: max_containers
+  optional: true
+
 properties:
   bpm.enabled:
     description: "use the BOSH Process Manager to manage the cell rep process."

✨ Built with go 1.21.5

Full Changelog: v2.85.0...v2.86.0

Resources