github AvitalTamir/cyphernetes v0.10.0

latest releases: v0.13.0, v0.12.1, v0.12.0...
2 months ago

Release Notes for Cyphernetes v0.10.0

This version adds initial support for aggregation functions in the language syntax.

Features

  • New aggregation functions COUNT and SUM can now be used to create data aggregations across multiple resources:
MATCH (deployments:Deployment)->(replicaSets:ReplicaSet)->(pods:Pod)
WHERE pods.status.phase = "Running"
RETURN SUM{deployments.spec.replicas} AS TotalDesired,
       COUNT{pods.metadata.name} AS TotalAvailable;

{
  "aggregate": {
    "TotalAvailable": 7,
    "TotalDesired": 7
  }
}

Improvements

  • New default macro deployment_replicas uses the new aggregation functions to show total desired vs. running replicas across all deployments

Bugfixes

  • Resolved an issue where only the first node in the MATCH clause could be used in the WHERE clause. WHERE clause items will now fail silently if the filtered node can't be matched.

Don't miss a new cyphernetes release

NewReleases is sending notifications on new releases.