diff --git a/CHANGES.rst b/CHANGES.rst index 4486e119..eb16166d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,8 @@ Unreleased * Fixed a missing permission that was causing a warning on kopf startup. +* Updated CRD to show the CPU requests and limits. + 2.23.0 (2023-02-28) ------------------- diff --git a/deploy/charts/crate-operator-crds/templates/cratedbs-cloud-crate-io.yaml b/deploy/charts/crate-operator-crds/templates/cratedbs-cloud-crate-io.yaml index b472dba5..7a2bdae7 100644 --- a/deploy/charts/crate-operator-crds/templates/cratedbs-cloud-crate-io.yaml +++ b/deploy/charts/crate-operator-crds/templates/cratedbs-cloud-crate-io.yaml @@ -28,6 +28,16 @@ spec: jsonPath: .spec.nodes.data[?(@.name == "hot")].replicas name: Nodes type: number + - description: CPU Requests + jsonPath: .spec.nodes.data[?(@.name == "hot")].resources.requests.cpu + name: CPU_REQ + type: number + - description: CPU Limits + jsonPath: .spec.nodes.data[?(@.name == "hot")].resources.limits.cpu + name: CPU_LIM + type: number + # Only shown in wide mode (-o wide) + priority: 1 - jsonPath: .metadata.creationTimestamp name: Age type: date