From 8a8df5addc22d8d538d8c0ae574ad52b6f49d4aa Mon Sep 17 00:00:00 2001 From: selmankoc Date: Tue, 9 May 2023 14:41:34 +0300 Subject: [PATCH] added nodeselector --- etc/k8s/azure/scripts/values.azure.yaml | 28 +++++++++++++++++-- etc/k8s/eshoponabp/charts/mongodb/values.yaml | 2 ++ .../eshoponabp/charts/postgres/values.yaml | 2 ++ .../eshoponabp/charts/rabbitmq/values.yaml | 2 ++ etc/k8s/eshoponabp/charts/redis/values.yaml | 2 ++ 5 files changed, 33 insertions(+), 3 deletions(-) diff --git a/etc/k8s/azure/scripts/values.azure.yaml b/etc/k8s/azure/scripts/values.azure.yaml index bdf0d7d8..e84afde4 100644 --- a/etc/k8s/azure/scripts/values.azure.yaml +++ b/etc/k8s/azure/scripts/values.azure.yaml @@ -14,6 +14,8 @@ authserver: redisHost: eshop-az-redis rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch + nodeSelector: + agentpool: demopool ingress: host: auth.eshoponabp.com tlsSecret: eshop-wildcard-tls @@ -32,6 +34,8 @@ web: responseType: "code" strictDiscoveryDocumentValidation: false skipIssuerCheck: true + nodeSelector: + agentpool: demopool ingress: host: admin.eshoponabp.com image: @@ -52,7 +56,8 @@ public-web: redisHost: eshop-az-redis rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch - + nodeSelector: + agentpool: demopool ingress: host: eshoponabp.com image: @@ -89,6 +94,8 @@ identity: orderingServiceRootUrl: https://order.eshoponabp.com cmskitServiceRootUrl: https://cmskit.eshoponabp.com paymentServiceRootUrl: https://payment.eshoponabp.com + nodeSelector: + agentpool: demopool ingress: host: identity.eshoponabp.com image: @@ -115,7 +122,9 @@ administration: rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch synchedCommunication: # Used for server-to-server (client-credentials) communication with identityService for user permissions - authority: https://auth.eshoponabp.com + authority: https://auth.eshoponabp.com + nodeSelector: + agentpool: demopool ingress: host: administration.eshoponabp.com image: @@ -137,6 +146,8 @@ gateway-web: redisHost: eshop-az-redis rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch + nodeSelector: + agentpool: demopool ingress: host: gateway.eshoponabp.com image: @@ -169,6 +180,8 @@ gateway-web-public: redisHost: eshop-az-redis rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch + nodeSelector: + agentpool: demopool ingress: host: gateway-public.eshoponabp.com image: @@ -211,6 +224,8 @@ basket: remoteServices: catalogBaseUrl: http://eshop-az-catalog:80 catalogGrpcUrl: http://eshop-az-catalog:81 + nodeSelector: + agentpool: demopool ingress: host: basket.eshoponabp.com image: @@ -262,6 +277,8 @@ ordering: redisHost: eshop-az-redis rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch + nodeSelector: + agentpool: demopool ingress: host: order.eshoponabp.com image: @@ -289,6 +306,8 @@ ordering: # elasticsearchHost: eshop-az-elasticsearch # synchedCommunication: # Used for server-to-server (client-credentials) communication with identityService for user permissions # authority: https://auth.eshoponabp.com +# nodeSelector: +# agentpool: demopool # ingress: # host: cmskit.eshoponabp.com # image: @@ -312,6 +331,8 @@ payment: redisHost: eshop-az-redis rabbitmqHost: eshop-az-rabbitmq elasticsearchHost: eshop-az-elasticsearch + nodeSelector: + agentpool: demopool ingress: host: payment.eshoponabp.com image: @@ -395,7 +416,8 @@ autoscaling: targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 -nodeSelector: {} +nodeSelector: + agentpool: demopool tolerations: [] diff --git a/etc/k8s/eshoponabp/charts/mongodb/values.yaml b/etc/k8s/eshoponabp/charts/mongodb/values.yaml index e69de29b..5e6dfe48 100644 --- a/etc/k8s/eshoponabp/charts/mongodb/values.yaml +++ b/etc/k8s/eshoponabp/charts/mongodb/values.yaml @@ -0,0 +1,2 @@ +nodeSelector: + agentpool: demopool \ No newline at end of file diff --git a/etc/k8s/eshoponabp/charts/postgres/values.yaml b/etc/k8s/eshoponabp/charts/postgres/values.yaml index e69de29b..5e6dfe48 100644 --- a/etc/k8s/eshoponabp/charts/postgres/values.yaml +++ b/etc/k8s/eshoponabp/charts/postgres/values.yaml @@ -0,0 +1,2 @@ +nodeSelector: + agentpool: demopool \ No newline at end of file diff --git a/etc/k8s/eshoponabp/charts/rabbitmq/values.yaml b/etc/k8s/eshoponabp/charts/rabbitmq/values.yaml index e69de29b..5e6dfe48 100644 --- a/etc/k8s/eshoponabp/charts/rabbitmq/values.yaml +++ b/etc/k8s/eshoponabp/charts/rabbitmq/values.yaml @@ -0,0 +1,2 @@ +nodeSelector: + agentpool: demopool \ No newline at end of file diff --git a/etc/k8s/eshoponabp/charts/redis/values.yaml b/etc/k8s/eshoponabp/charts/redis/values.yaml index e69de29b..5e6dfe48 100644 --- a/etc/k8s/eshoponabp/charts/redis/values.yaml +++ b/etc/k8s/eshoponabp/charts/redis/values.yaml @@ -0,0 +1,2 @@ +nodeSelector: + agentpool: demopool \ No newline at end of file