diff --git a/.cargo/config.toml b/.cargo/config.toml index bf3938bb..8fdb9f3e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [build] -rustflags = ["-C", "target-cpu=native"] +rustflags = ["-C", "target-cpu=znver3"] [target.x86_64-unknown-linux-gnu] linker = "clang" 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: