From 51e91644df4dd4cf0070724d9c1602e27c1de78c Mon Sep 17 00:00:00 2001 From: Patrick Juen Date: Fri, 24 May 2024 16:10:14 +0800 Subject: [PATCH 1/6] temp trigger pipeline on this branch --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aa0fc098..603a217b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Build & Deploy on: push: branches: - - develop + - develop-experiment env: DEFAULT_TAGS: | From a2827d775a699506cc03a3646f726c09ecca9bc2 Mon Sep 17 00:00:00 2001 From: Patrick Juen Date: Fri, 24 May 2024 16:22:39 +0800 Subject: [PATCH 2/6] set rust target cpu build to znver4 --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index bf3938bb..5ac96382 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [build] -rustflags = ["-C", "target-cpu=native"] +rustflags = ["-C", "target-cpu=znver4"] [target.x86_64-unknown-linux-gnu] linker = "clang" From 491c0dfd40723227ae5da4b7f9d2b8f5913401ed Mon Sep 17 00:00:00 2001 From: Patrick Juen Date: Fri, 24 May 2024 17:13:44 +0800 Subject: [PATCH 3/6] bring back node affinity & tolerations for leader --- deploy/helm/zero-bin/values.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/deploy/helm/zero-bin/values.yaml b/deploy/helm/zero-bin/values.yaml index c571d1b1..20424144 100644 --- a/deploy/helm/zero-bin/values.yaml +++ b/deploy/helm/zero-bin/values.yaml @@ -78,20 +78,20 @@ hull: port: 8080 initialDelaySeconds: 10 periodSeconds: 5 - # affinity: - # nodeAffinity: - # requiredDuringSchedulingIgnoredDuringExecution: - # nodeSelectorTerms: - # - matchExpressions: - # - key: workload - # operator: In - # values: - # - zk - # tolerations: - # - key: "workload" - # operator: "Equal" - # value: "zk" - # effect: "NoSchedule" + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: workload + operator: In + values: + - zk + tolerations: + - key: "workload" + operator: "Equal" + value: "zk" + effect: "NoSchedule" worker: replicas: 1 pod: From fcfc4da8187fd1570ef0ba8bd00769e18a537c69 Mon Sep 17 00:00:00 2001 From: Patrick Juen Date: Fri, 24 May 2024 17:14:03 +0800 Subject: [PATCH 4/6] set rust target cpu build to sapphirerapids --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 5ac96382..c180e402 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [build] -rustflags = ["-C", "target-cpu=znver4"] +rustflags = ["-C", "target-cpu=sapphirerapids"] [target.x86_64-unknown-linux-gnu] linker = "clang" From 53d655a1690ec61b67192dbe34acbcd364e7b648 Mon Sep 17 00:00:00 2001 From: Patrick Juen Date: Mon, 27 May 2024 11:17:55 +0800 Subject: [PATCH 5/6] set rust target cpu build to znver3 --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index c180e402..8fdb9f3e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [build] -rustflags = ["-C", "target-cpu=sapphirerapids"] +rustflags = ["-C", "target-cpu=znver3"] [target.x86_64-unknown-linux-gnu] linker = "clang" From fbc64ca9b0d03ce935df513d0eea97eb06e23a46 Mon Sep 17 00:00:00 2001 From: Patrick Juen Date: Wed, 29 May 2024 14:25:13 +0800 Subject: [PATCH 6/6] remove temp branch trigger --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 603a217b..aa0fc098 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Build & Deploy on: push: branches: - - develop-experiment + - develop env: DEFAULT_TAGS: |