From 6ecab63d2b3da7e4f9d23dd34cab524d44249e08 Mon Sep 17 00:00:00 2001 From: Jordane Fillatre Date: Thu, 5 Jan 2023 11:04:09 +0100 Subject: [PATCH] Update compute for xl xxl --- configs/amazon/values-xl-segment.yaml | 15 ++++++++------- configs/amazon/values-xxl-segment.yaml | 15 ++++++++------- configs/azure/values-xl-segment.yaml | 15 ++++++++------- configs/azure/values-xxl-segment.yaml | 15 ++++++++------- configs/build-configs.sh | 4 ++-- configs/reference/compute/values-m-segment.yaml | 2 +- configs/reference/compute/values-s-segment.yaml | 2 +- configs/reference/compute/values-xl-segment.yaml | 2 +- configs/reference/compute/values-xxl-segment.yaml | 2 +- 9 files changed, 38 insertions(+), 34 deletions(-) mode change 100644 => 100755 configs/build-configs.sh diff --git a/configs/amazon/values-xl-segment.yaml b/configs/amazon/values-xl-segment.yaml index caf24f0..6f2b562 100644 --- a/configs/amazon/values-xl-segment.yaml +++ b/configs/amazon/values-xl-segment.yaml @@ -512,13 +512,6 @@ tpx-flow: tp-dx: nodeSelector: *nodeSelector tolerations: *tolerations - priorityClassName: thingpark-enterprise-data-path - replicaCount: 2 - resources: - requests: - memory: 360Mi - limits: - memory: 480Mi node-red: nodeSelector: *nodeSelector tolerations: *tolerations @@ -580,3 +573,11 @@ global: iotFlow: maxConnections: 20 storageType: "aws-ebs-gp2" +tpdx-tpe: + priorityClassName: thingpark-enterprise-data-path + replicaCount: 2 + resources: + requests: + memory: 360Mi + limits: + memory: 480Mi diff --git a/configs/amazon/values-xxl-segment.yaml b/configs/amazon/values-xxl-segment.yaml index fcdfbc9..b42f0fe 100644 --- a/configs/amazon/values-xxl-segment.yaml +++ b/configs/amazon/values-xxl-segment.yaml @@ -512,13 +512,6 @@ tpx-flow: tp-dx: nodeSelector: *nodeSelector tolerations: *tolerations - priorityClassName: thingpark-enterprise-data-path - replicaCount: 2 - resources: - requests: - memory: 900Mi - limits: - memory: 1200Mi node-red: nodeSelector: *nodeSelector tolerations: *tolerations @@ -580,3 +573,11 @@ global: iotFlow: maxConnections: 20 storageType: "aws-ebs-gp2" +tpdx-tpe: + priorityClassName: thingpark-enterprise-data-path + replicaCount: 2 + resources: + requests: + memory: 900Mi + limits: + memory: 1200Mi diff --git a/configs/azure/values-xl-segment.yaml b/configs/azure/values-xl-segment.yaml index 1c30c9a..8663e1c 100644 --- a/configs/azure/values-xl-segment.yaml +++ b/configs/azure/values-xl-segment.yaml @@ -508,13 +508,6 @@ tpx-flow: tp-dx: nodeSelector: *nodeSelector tolerations: *tolerations - priorityClassName: thingpark-enterprise-data-path - replicaCount: 2 - resources: - requests: - memory: 360Mi - limits: - memory: 480Mi node-red: nodeSelector: *nodeSelector tolerations: *tolerations @@ -577,3 +570,11 @@ global: iotFlow: maxConnections: 20 storageType: "az-premium-lrs" +tpdx-tpe: + priorityClassName: thingpark-enterprise-data-path + replicaCount: 2 + resources: + requests: + memory: 360Mi + limits: + memory: 480Mi diff --git a/configs/azure/values-xxl-segment.yaml b/configs/azure/values-xxl-segment.yaml index 19b00bb..7e02961 100644 --- a/configs/azure/values-xxl-segment.yaml +++ b/configs/azure/values-xxl-segment.yaml @@ -505,13 +505,6 @@ tpx-flow: tp-dx: nodeSelector: *nodeSelector tolerations: *tolerations - priorityClassName: thingpark-enterprise-data-path - replicaCount: 2 - resources: - requests: - memory: 900Mi - limits: - memory: 1200Mi node-red: nodeSelector: *nodeSelector tolerations: *tolerations @@ -574,3 +567,11 @@ global: iotFlow: maxConnections: 20 storageType: "az-premium-lrs" +tpdx-tpe: + priorityClassName: thingpark-enterprise-data-path + replicaCount: 2 + resources: + requests: + memory: 900Mi + limits: + memory: 1200Mi diff --git a/configs/build-configs.sh b/configs/build-configs.sh old mode 100644 new mode 100755 index 63122cd..6315f35 --- a/configs/build-configs.sh +++ b/configs/build-configs.sh @@ -19,7 +19,7 @@ do yq eval-all '. as $item ireduce ({}; . * $item)' reference/values-selectors.yaml \ reference/compute/values-${s}-segment.yaml \ reference/storage/values-${s}-segment.yaml \ - ${cloud_values} > ${f}/values-${s}-segment.yaml + ${cloud_values} | tee ${f}/values-${s}-segment.yaml done done @@ -28,4 +28,4 @@ do if [ -f ${item} ]; then rm -v ${item} fi -done \ No newline at end of file +done diff --git a/configs/reference/compute/values-m-segment.yaml b/configs/reference/compute/values-m-segment.yaml index 570d59f..1ae9234 100644 --- a/configs/reference/compute/values-m-segment.yaml +++ b/configs/reference/compute/values-m-segment.yaml @@ -396,7 +396,7 @@ tpx-flow: limits: memory: 330Mi -tp-dx: +tpdx-tpe: priorityClassName: thingpark-enterprise-data-path replicaCount: 1 resources: diff --git a/configs/reference/compute/values-s-segment.yaml b/configs/reference/compute/values-s-segment.yaml index 3ce7358..50e9d37 100644 --- a/configs/reference/compute/values-s-segment.yaml +++ b/configs/reference/compute/values-s-segment.yaml @@ -396,7 +396,7 @@ tpx-flow: limits: memory: 300Mi -tp-dx: +tpdx-tpe: priorityClassName: thingpark-enterprise-data-path replicaCount: 1 resources: diff --git a/configs/reference/compute/values-xl-segment.yaml b/configs/reference/compute/values-xl-segment.yaml index 7444c02..034c532 100644 --- a/configs/reference/compute/values-xl-segment.yaml +++ b/configs/reference/compute/values-xl-segment.yaml @@ -406,7 +406,7 @@ tpx-flow: limits: memory: 480Mi -tp-dx: +tpdx-tpe: priorityClassName: thingpark-enterprise-data-path replicaCount: 2 resources: diff --git a/configs/reference/compute/values-xxl-segment.yaml b/configs/reference/compute/values-xxl-segment.yaml index 3bf64f8..9ba9325 100644 --- a/configs/reference/compute/values-xxl-segment.yaml +++ b/configs/reference/compute/values-xxl-segment.yaml @@ -405,7 +405,7 @@ tpx-flow: limits: memory: 1200Mi -tp-dx: +tpdx-tpe: priorityClassName: thingpark-enterprise-data-path replicaCount: 2 resources: