From b005f22d933ad1218ea14b7251eb3391b2e8e42b Mon Sep 17 00:00:00 2001 From: Jianwei Huang <1223644280@qq.com> Date: Mon, 13 Nov 2023 16:09:11 +0800 Subject: [PATCH] fix(docker): fix memory limit suffix in docker compose --- docker/docker-compose-standalone.yml | 4 ++-- docker/docker-compose-with-hdfs.yml | 16 ++++++++-------- docker/docker-compose.yml | 16 ++++++++-------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docker/docker-compose-standalone.yml b/docker/docker-compose-standalone.yml index b870589713d11..f500f8988e9a2 100644 --- a/docker/docker-compose-standalone.yml +++ b/docker/docker-compose-standalone.yml @@ -75,9 +75,9 @@ services: deploy: resources: limits: - memory: 28Gi + memory: 28G reservations: - memory: 28Gi + memory: 28G etcd-0: image: "quay.io/coreos/etcd:v3.5.7" diff --git a/docker/docker-compose-with-hdfs.yml b/docker/docker-compose-with-hdfs.yml index 0929faf9fadd9..ed7ecd8788465 100644 --- a/docker/docker-compose-with-hdfs.yml +++ b/docker/docker-compose-with-hdfs.yml @@ -38,9 +38,9 @@ services: deploy: resources: limits: - memory: 2Gi + memory: 2G reservations: - memory: 1Gi + memory: 1G compute-node-0: image: "ghcr.io/risingwavelabs/risingwave:RW_1.1_HADOOP2-x86_64" command: @@ -78,9 +78,9 @@ services: deploy: resources: limits: - memory: 26Gi + memory: 26G reservations: - memory: 26Gi + memory: 26G etcd-0: image: "quay.io/coreos/etcd:v3.5.7" command: @@ -167,9 +167,9 @@ services: deploy: resources: limits: - memory: 2Gi + memory: 2G reservations: - memory: 1Gi + memory: 1G grafana-0: image: "grafana/grafana-oss:latest" command: [] @@ -242,9 +242,9 @@ services: deploy: resources: limits: - memory: 2Gi + memory: 2G reservations: - memory: 1Gi + memory: 1G prometheus-0: image: "prom/prometheus:latest" command: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index fd1532b0728ad..d8ed088968fcd 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -42,9 +42,9 @@ services: deploy: resources: limits: - memory: 2Gi + memory: 2G reservations: - memory: 1Gi + memory: 1G compute-node-0: <<: *image command: @@ -84,9 +84,9 @@ services: deploy: resources: limits: - memory: 26Gi + memory: 26G reservations: - memory: 26Gi + memory: 26G etcd-0: image: "quay.io/coreos/etcd:v3.5.7" command: @@ -174,9 +174,9 @@ services: deploy: resources: limits: - memory: 2Gi + memory: 2G reservations: - memory: 1Gi + memory: 1G grafana-0: image: "grafana/grafana-oss:latest" command: [] @@ -250,9 +250,9 @@ services: deploy: resources: limits: - memory: 2Gi + memory: 2G reservations: - memory: 1Gi + memory: 1G minio-0: image: "quay.io/minio/minio:latest" command: