diff --git a/tools/load-generator/invoker/measure.go b/tools/load-generator/invoker/measure.go index c4a20cda2..5d6168a61 100644 --- a/tools/load-generator/invoker/measure.go +++ b/tools/load-generator/invoker/measure.go @@ -1,15 +1,35 @@ -invoker: client.go measure.go helloworld.pb.go helloworld_grpc.pb.go - go mod tidy - go build github.com/vhive-serverless/vSwarm/tools/invoker - -helloworld.pb.go: proto/helloworld.proto - protoc \ - --go_out=. \ - --go_opt="paths=source_relative" \ - proto/helloworld.proto - -helloworld_grpc.pb.go: proto/helloworld.proto - protoc \ - --go-grpc_out=. \ - --go-grpc_opt="paths=source_relative" \ - proto/helloworld.proto \ No newline at end of file +package main + +import ( + // "context" + "sync" + "time" + + // "github.com/golang/protobuf/ptypes/empty" + // log "github.com/sirupsen/logrus" + // "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" + "google.golang.org/grpc" + // "google.golang.org/grpc/credentials/insecure" + + "github.com/vhive-serverless/vSwarm/tools/benchmarking_eventing/proto" + + // "github.com/vhive-serverless/vSwarm/tools/endpoint" +) + +var ( + tsdbConn *grpc.ClientConn + tsdbClient proto.TimeseriesClient + lock sync.Mutex +) + +func Start() { + lock.Lock() + defer lock.Unlock() + return +} + +func End() (durations []time.Duration) { + lock.Lock() + defer lock.Unlock() + return +} diff --git a/tools/load-generator/load_generator/deployer.py b/tools/load-generator/load_generator/deployer.py old mode 100644 new mode 100755 index 728e7f4b0..8e123ffe3 --- a/tools/load-generator/load_generator/deployer.py +++ b/tools/load-generator/load_generator/deployer.py @@ -232,6 +232,7 @@ def deploy_service( # Execute the shell script and deploy the function execute_shell = f"{shell_path} {shell_filename}" + log.info(f"Executing {shell_filename}") try: result = subprocess.run( execute_shell, @@ -285,6 +286,7 @@ def get_service_status(function_names: list) -> bool: if status == "True": service_status[function_name] = True else: + log.info(f"Service {function_name} is not ready") service_status[function_name] = False for function_name in function_names: @@ -391,6 +393,7 @@ def get_service_status(function_names: list) -> bool: if e == 0: deployed_services_names.append(tf["proxy-function-name"]) if(len(deployed_services_names) % 50 == 49): + log.info("Waiting for 15 seconds, monitoring the service status") # Monitor the service, until it is ready # Monitoring happens every 15 seconds. If it shows failure even after that then it returns failure diff --git a/tools/load-generator/requirements.txt b/tools/load-generator/requirements.txt index 398dfd417..626519410 100644 --- a/tools/load-generator/requirements.txt +++ b/tools/load-generator/requirements.txt @@ -4,4 +4,5 @@ typing matplotlib argparse PyYAML -scipy \ No newline at end of file +scipy +tqdm diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-10-10.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-10-10.yaml old mode 100644 new mode 100755 index 5cc27141b..8810fcb73 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-10-10.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-10-10.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-100-101.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-100-101.yaml old mode 100644 new mode 100755 index a9456ba26..2a96f54bf --- a/tools/load-generator/yamls/aes-go/kn-aes-go-100-101.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-100-101.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-1000-1010.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-1000-1010.yaml old mode 100644 new mode 100755 index dfbc39c34..8d4f6e828 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-1000-1010.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-1000-1010.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-10000-10100.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-10000-10100.yaml old mode 100644 new mode 100755 index 7cd4da4e9..9966c9b2c --- a/tools/load-generator/yamls/aes-go/kn-aes-go-10000-10100.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-10000-10100.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-100000-101000.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-100000-101000.yaml old mode 100644 new mode 100755 index 584c35fc3..e62161d71 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-100000-101000.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-100000-101000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-1000000-1010000.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-1000000-1010000.yaml old mode 100644 new mode 100755 index 684d6a862..40f4a1ee0 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-1000000-1010000.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-1000000-1010000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-2000-2020.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-2000-2020.yaml old mode 100644 new mode 100755 index bf99abaa5..1c9155090 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-2000-2020.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-2000-2020.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-20000-20200.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-20000-20200.yaml old mode 100644 new mode 100755 index 8f8c6ef62..c441dee9c --- a/tools/load-generator/yamls/aes-go/kn-aes-go-20000-20200.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-20000-20200.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-200000-202000.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-200000-202000.yaml old mode 100644 new mode 100755 index 311181730..c98999300 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-200000-202000.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-200000-202000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-4500-4545.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-4500-4545.yaml old mode 100644 new mode 100755 index b29f8166c..99f80c01b --- a/tools/load-generator/yamls/aes-go/kn-aes-go-4500-4545.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-4500-4545.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-45000-45450.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-45000-45450.yaml old mode 100644 new mode 100755 index e044f93c4..4bf18e92d --- a/tools/load-generator/yamls/aes-go/kn-aes-go-45000-45450.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-45000-45450.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-450000-454500.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-450000-454500.yaml old mode 100644 new mode 100755 index acc2d9a45..bb2b50c0c --- a/tools/load-generator/yamls/aes-go/kn-aes-go-450000-454500.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-450000-454500.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-500-505.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-500-505.yaml old mode 100644 new mode 100755 index 81ada38b8..7f05a1616 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-500-505.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-500-505.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-7000-7070.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-7000-7070.yaml old mode 100644 new mode 100755 index bc839ae75..0be30f665 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-7000-7070.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-7000-7070.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-70000-70700.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-70000-70700.yaml old mode 100644 new mode 100755 index 8baa451fe..06848fb09 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-70000-70700.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-70000-70700.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-go/kn-aes-go-700000-707000.yaml b/tools/load-generator/yamls/aes-go/kn-aes-go-700000-707000.yaml old mode 100644 new mode 100755 index db94a6fea..9f3e89ad9 --- a/tools/load-generator/yamls/aes-go/kn-aes-go-700000-707000.yaml +++ b/tools/load-generator/yamls/aes-go/kn-aes-go-700000-707000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/aes-go:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10-10.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10-10.yaml old mode 100644 new mode 100755 index a79b8d919..d44d8795b --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10-10.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10-10.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100-101.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100-101.yaml old mode 100644 new mode 100755 index f026fd757..5a201d0f1 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100-101.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100-101.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000-1010.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000-1010.yaml old mode 100644 new mode 100755 index 2e4cca08a..dfd5f04bc --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000-1010.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000-1010.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10000-10100.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10000-10100.yaml old mode 100644 new mode 100755 index a0e55bfa4..c7fe90532 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10000-10100.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-10000-10100.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100000-101000.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100000-101000.yaml old mode 100644 new mode 100755 index 612bb215c..2d8764ef3 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100000-101000.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-100000-101000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000000-1010000.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000000-1010000.yaml old mode 100644 new mode 100755 index c7bcd9009..d5dfd306b --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000000-1010000.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-1000000-1010000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-2000-2020.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-2000-2020.yaml old mode 100644 new mode 100755 index f01f54ba2..a0b286666 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-2000-2020.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-2000-2020.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-20000-20200.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-20000-20200.yaml old mode 100644 new mode 100755 index 6d8a9f95d..024f75e52 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-20000-20200.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-20000-20200.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-200000-202000.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-200000-202000.yaml old mode 100644 new mode 100755 index 9a0e86dcc..69d0c9e06 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-200000-202000.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-200000-202000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-4500-4545.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-4500-4545.yaml old mode 100644 new mode 100755 index f4328c1d3..5935847da --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-4500-4545.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-4500-4545.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-45000-45450.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-45000-45450.yaml old mode 100644 new mode 100755 index fd08d014d..06e807389 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-45000-45450.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-45000-45450.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-450000-454500.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-450000-454500.yaml old mode 100644 new mode 100755 index 98aa5da09..8b8e11aa3 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-450000-454500.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-450000-454500.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-500-505.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-500-505.yaml old mode 100644 new mode 100755 index 0bd660a1b..e6dd9a18c --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-500-505.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-500-505.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-7000-7070.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-7000-7070.yaml old mode 100644 new mode 100755 index 82cb0e872..da4988d39 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-7000-7070.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-7000-7070.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-70000-70700.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-70000-70700.yaml old mode 100644 new mode 100755 index bd134725c..8a6ddeb9d --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-70000-70700.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-70000-70700.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-700000-707000.yaml b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-700000-707000.yaml old mode 100644 new mode 100755 index 3059d7108..60630e660 --- a/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-700000-707000.yaml +++ b/tools/load-generator/yamls/aes-nodejs/kn-aes-nodejs-700000-707000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-10-10.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-10-10.yaml old mode 100644 new mode 100755 index a592e3336..cdd165deb --- a/tools/load-generator/yamls/aes-python/kn-aes-python-10-10.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-10-10.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-100-101.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-100-101.yaml old mode 100644 new mode 100755 index 2f6a8e632..60b6fe3ac --- a/tools/load-generator/yamls/aes-python/kn-aes-python-100-101.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-100-101.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-1000-1010.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-1000-1010.yaml old mode 100644 new mode 100755 index 11836b938..40cc2773c --- a/tools/load-generator/yamls/aes-python/kn-aes-python-1000-1010.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-1000-1010.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-10000-10100.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-10000-10100.yaml old mode 100644 new mode 100755 index 745bb9fed..20837a9a0 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-10000-10100.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-10000-10100.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-100000-101000.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-100000-101000.yaml old mode 100644 new mode 100755 index a0e762f9e..69470fff5 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-100000-101000.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-100000-101000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-1000000-1010000.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-1000000-1010000.yaml old mode 100644 new mode 100755 index baed0c09e..1935218e2 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-1000000-1010000.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-1000000-1010000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-2000-2020.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-2000-2020.yaml old mode 100644 new mode 100755 index 4266628b0..3bd07a728 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-2000-2020.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-2000-2020.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-20000-20200.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-20000-20200.yaml old mode 100644 new mode 100755 index 4258c42c6..cf6ea03ed --- a/tools/load-generator/yamls/aes-python/kn-aes-python-20000-20200.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-20000-20200.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-200000-202000.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-200000-202000.yaml old mode 100644 new mode 100755 index c225609ce..a74ef47d7 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-200000-202000.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-200000-202000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-4500-4545.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-4500-4545.yaml old mode 100644 new mode 100755 index 4ad832460..743ca98d7 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-4500-4545.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-4500-4545.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-45000-45450.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-45000-45450.yaml old mode 100644 new mode 100755 index df1eb475b..06d5f6f20 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-45000-45450.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-45000-45450.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-450000-454500.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-450000-454500.yaml old mode 100644 new mode 100755 index 30f31e298..97733d7be --- a/tools/load-generator/yamls/aes-python/kn-aes-python-450000-454500.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-450000-454500.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-500-505.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-500-505.yaml old mode 100644 new mode 100755 index df8c8be12..cfeef9c10 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-500-505.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-500-505.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-7000-7070.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-7000-7070.yaml old mode 100644 new mode 100755 index 845f97a87..08e6a7c22 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-7000-7070.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-7000-7070.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-70000-70700.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-70000-70700.yaml old mode 100644 new mode 100755 index 955b0c193..581e310cc --- a/tools/load-generator/yamls/aes-python/kn-aes-python-70000-70700.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-70000-70700.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/aes-python/kn-aes-python-700000-707000.yaml b/tools/load-generator/yamls/aes-python/kn-aes-python-700000-707000.yaml old mode 100644 new mode 100755 index 3e0c6d8e6..4d51e6203 --- a/tools/load-generator/yamls/aes-python/kn-aes-python-700000-707000.yaml +++ b/tools/load-generator/yamls/aes-python/kn-aes-python-700000-707000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/auth/kn-auth-go.yaml b/tools/load-generator/yamls/auth/kn-auth-go.yaml old mode 100644 new mode 100755 index 9939159a8..6b2160af4 --- a/tools/load-generator/yamls/auth/kn-auth-go.yaml +++ b/tools/load-generator/yamls/auth/kn-auth-go.yaml @@ -41,4 +41,6 @@ spec: - --profile-function=true - image: docker.io/vhiveease/auth-go:latest args: - - --addr=0.0.0.0:50051 \ No newline at end of file + - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/auth/kn-auth-nodejs.yaml b/tools/load-generator/yamls/auth/kn-auth-nodejs.yaml old mode 100644 new mode 100755 index e48697aa9..795bbc2ea --- a/tools/load-generator/yamls/auth/kn-auth-nodejs.yaml +++ b/tools/load-generator/yamls/auth/kn-auth-nodejs.yaml @@ -42,4 +42,6 @@ spec: - image: docker.io/vhiveease/auth-nodejs:latest args: - --addr=0.0.0.0 - - --port=50051 \ No newline at end of file + - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/auth/kn-auth-python.yaml b/tools/load-generator/yamls/auth/kn-auth-python.yaml old mode 100644 new mode 100755 index 33b16a10a..8ed5b526c --- a/tools/load-generator/yamls/auth/kn-auth-python.yaml +++ b/tools/load-generator/yamls/auth/kn-auth-python.yaml @@ -42,4 +42,6 @@ spec: - image: docker.io/vhiveease/auth-python:latest args: - --addr=0.0.0.0 - - --port=50051 \ No newline at end of file + - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/compression/kn-compression-python.yaml b/tools/load-generator/yamls/compression/kn-compression-python.yaml old mode 100644 new mode 100755 index 4e61f8291..8d609aa0f --- a/tools/load-generator/yamls/compression/kn-compression-python.yaml +++ b/tools/load-generator/yamls/compression/kn-compression-python.yaml @@ -43,3 +43,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10-10.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10-10.yaml old mode 100644 new mode 100755 index 2a5182ad4..76947bd0d --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10-10.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10-10.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000-1010.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000-1010.yaml old mode 100644 new mode 100755 index 8581f3640..0dce6c9ae --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000-1010.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000-1010.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10000-10100.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10000-10100.yaml old mode 100644 new mode 100755 index 7c9742f2e..c1bcb9e4b --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10000-10100.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-10000-10100.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-100000-101000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-100000-101000.yaml old mode 100644 new mode 100755 index 6b2379496..178c8d6ef --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-100000-101000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-100000-101000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000000-1010000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000000-1010000.yaml old mode 100644 new mode 100755 index 7b1c181b3..0ee1697eb --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000000-1010000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1000000-1010000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1500000-1515000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1500000-1515000.yaml old mode 100644 new mode 100755 index 32053dff1..d04508222 --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1500000-1515000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-1500000-1515000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-20000-20200.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-20000-20200.yaml old mode 100644 new mode 100755 index 2398287d3..6ebb171d5 --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-20000-20200.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-20000-20200.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-200000-202000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-200000-202000.yaml old mode 100644 new mode 100755 index 47aac5cf3..f0a6b9e9b --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-200000-202000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-200000-202000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-2000000-2020000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-2000000-2020000.yaml old mode 100644 new mode 100755 index 8581613aa..319a07ace --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-2000000-2020000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-2000000-2020000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-3500000-3535000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-3500000-3535000.yaml old mode 100644 new mode 100755 index d9b20fb9a..f93327b0c --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-3500000-3535000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-3500000-3535000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-4500-4545.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-4500-4545.yaml old mode 100644 new mode 100755 index de8cd6491..e1b57d99d --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-4500-4545.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-4500-4545.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-45000-45450.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-45000-45450.yaml old mode 100644 new mode 100755 index 02b489c58..96dc25a4a --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-45000-45450.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-45000-45450.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-450000-454500.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-450000-454500.yaml old mode 100644 new mode 100755 index 7c646b571..12b183e7e --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-450000-454500.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-450000-454500.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-5500000-5555000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-5500000-5555000.yaml old mode 100644 new mode 100755 index d7634d749..eb3faaaa6 --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-5500000-5555000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-5500000-5555000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-70000-70700.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-70000-70700.yaml old mode 100644 new mode 100755 index 60e0a11bd..4604552e8 --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-70000-70700.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-70000-70700.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-700000-707000.yaml b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-700000-707000.yaml old mode 100644 new mode 100755 index b13a84980..d0d486111 --- a/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-700000-707000.yaml +++ b/tools/load-generator/yamls/fibonacci-go/kn-fibonacci-go-700000-707000.yaml @@ -25,3 +25,5 @@ spec: - image: docker.io/vhiveease/fibonacci-go-mod:latest args: - --addr=0.0.0.0:50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10-10.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10-10.yaml old mode 100644 new mode 100755 index e5c1f63c5..214b3c91d --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10-10.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10-10.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000-1010.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000-1010.yaml old mode 100644 new mode 100755 index 3ff2fd134..ecb140568 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000-1010.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000-1010.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10000-10100.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10000-10100.yaml old mode 100644 new mode 100755 index 0ce684a6a..54c1d24d7 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10000-10100.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-10000-10100.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-100000-101000.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-100000-101000.yaml old mode 100644 new mode 100755 index 58ad6e27f..f917836f3 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-100000-101000.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-100000-101000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000000-1010000.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000000-1010000.yaml old mode 100644 new mode 100755 index c6188b2f7..38c84441a --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000000-1010000.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-1000000-1010000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-20000-20200.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-20000-20200.yaml old mode 100644 new mode 100755 index 883070e38..fe777d47e --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-20000-20200.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-20000-20200.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-200000-202000.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-200000-202000.yaml old mode 100644 new mode 100755 index e46faf5b9..ea7e34226 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-200000-202000.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-200000-202000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-2000000-2020000.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-2000000-2020000.yaml old mode 100644 new mode 100755 index 53c1cf194..63d70b7e9 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-2000000-2020000.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-2000000-2020000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-3000000-3030000.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-3000000-3030000.yaml old mode 100644 new mode 100755 index f16be8ae3..84f38c5ac --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-3000000-3030000.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-3000000-3030000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-4500-4545.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-4500-4545.yaml old mode 100644 new mode 100755 index 99038616e..11d8727ad --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-4500-4545.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-4500-4545.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-45000-45450.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-45000-45450.yaml old mode 100644 new mode 100755 index bd3de7fd8..ea32f2469 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-45000-45450.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-45000-45450.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-450000-454500.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-450000-454500.yaml old mode 100644 new mode 100755 index 18a02a453..388f428d2 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-450000-454500.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-450000-454500.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-70000-70700.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-70000-70700.yaml old mode 100644 new mode 100755 index d5ec671d8..87af50c01 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-70000-70700.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-70000-70700.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-700000-707000.yaml b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-700000-707000.yaml old mode 100644 new mode 100755 index 024a45476..102c91e97 --- a/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-700000-707000.yaml +++ b/tools/load-generator/yamls/fibonacci-nodejs/kn-fibonacci-nodejs-700000-707000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10-10.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10-10.yaml old mode 100644 new mode 100755 index 383dceca5..9bb5aebc6 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10-10.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10-10.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000-1010.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000-1010.yaml old mode 100644 new mode 100755 index b925c9d81..fda909a31 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000-1010.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000-1010.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10000-10100.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10000-10100.yaml old mode 100644 new mode 100755 index 11b9c3705..6dd00f831 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10000-10100.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-10000-10100.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-100000-101000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-100000-101000.yaml old mode 100644 new mode 100755 index a345bafe6..bc26d40b0 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-100000-101000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-100000-101000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000000-1010000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000000-1010000.yaml old mode 100644 new mode 100755 index f96b1dfa3..0ce71663a --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000000-1010000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1000000-1010000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1500000-1515000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1500000-1515000.yaml old mode 100644 new mode 100755 index ea2f49ea5..2872d91e1 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1500000-1515000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-1500000-1515000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-20000-20200.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-20000-20200.yaml old mode 100644 new mode 100755 index 3b5008ba7..4d13f2db7 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-20000-20200.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-20000-20200.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-200000-202000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-200000-202000.yaml old mode 100644 new mode 100755 index f283c1db6..41a69d79f --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-200000-202000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-200000-202000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-2000000-2020000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-2000000-2020000.yaml old mode 100644 new mode 100755 index 2f75d2c52..77c4ce16a --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-2000000-2020000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-2000000-2020000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-3500000-3535000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-3500000-3535000.yaml old mode 100644 new mode 100755 index dee32b425..7c1b843d3 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-3500000-3535000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-3500000-3535000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-4500-4545.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-4500-4545.yaml old mode 100644 new mode 100755 index 11b163e68..5850c27aa --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-4500-4545.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-4500-4545.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-45000-45450.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-45000-45450.yaml old mode 100644 new mode 100755 index 1c69b9e40..43780e480 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-45000-45450.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-45000-45450.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-450000-454500.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-450000-454500.yaml old mode 100644 new mode 100755 index f92d2eea7..88f669cc4 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-450000-454500.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-450000-454500.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-70000-70700.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-70000-70700.yaml old mode 100644 new mode 100755 index c339287ed..10ba82556 --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-70000-70700.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-70000-70700.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-700000-707000.yaml b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-700000-707000.yaml old mode 100644 new mode 100755 index 58a09a811..5fa129dca --- a/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-700000-707000.yaml +++ b/tools/load-generator/yamls/fibonacci-python/kn-fibonacci-python-700000-707000.yaml @@ -26,3 +26,5 @@ spec: args: - --addr=0.0.0.0 - --port=50051 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/gptj/kn-gptj-python.yaml b/tools/load-generator/yamls/gptj/kn-gptj-python.yaml old mode 100644 new mode 100755 index f576cde51..7dce0aea0 --- a/tools/load-generator/yamls/gptj/kn-gptj-python.yaml +++ b/tools/load-generator/yamls/gptj/kn-gptj-python.yaml @@ -45,4 +45,6 @@ spec: - --port=50051 - --dataset-path=python/data/cnn_eval.json - --mlperf_conf=python/config/mlperf.conf - - --user_conf=python/config/user.conf \ No newline at end of file + - --user_conf=python/config/user.conf + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/database.yaml b/tools/load-generator/yamls/hotel-app/database.yaml old mode 100644 new mode 100755 index 997e11bdf..82eabd811 --- a/tools/load-generator/yamls/hotel-app/database.yaml +++ b/tools/load-generator/yamls/hotel-app/database.yaml @@ -38,11 +38,12 @@ spec: app: hotel-app-database spec: containers: - - name: database - image: docker.io/vhiveease/mongodb - ports: - - containerPort: 27017 - + - name: database + image: docker.io/vhiveease/mongodb + ports: + - containerPort: 27017 + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -54,6 +55,10 @@ spec: selector: app: hotel-app-database ports: - - name: database - port: 27017 - targetPort: 27017 \ No newline at end of file + - name: database + port: 27017 + targetPort: 27017 + template: + spec: + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/kn-geo.yaml b/tools/load-generator/yamls/hotel-app/kn-geo.yaml old mode 100644 new mode 100755 index 02a5bda3c..0350ddde5 --- a/tools/load-generator/yamls/hotel-app/kn-geo.yaml +++ b/tools/load-generator/yamls/hotel-app/kn-geo.yaml @@ -47,4 +47,6 @@ spec: args: - --url=0.0.0.0 - --port=8083 - - --db_addr=hotel-app-database:27017 \ No newline at end of file + - --db_addr=hotel-app-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/kn-profile.yaml b/tools/load-generator/yamls/hotel-app/kn-profile.yaml old mode 100644 new mode 100755 index e85d6efc6..417221bbf --- a/tools/load-generator/yamls/hotel-app/kn-profile.yaml +++ b/tools/load-generator/yamls/hotel-app/kn-profile.yaml @@ -49,4 +49,6 @@ spec: - --url=0.0.0.0 - --port=8083 - --db_addr=hotel-app-database:27017 - - --memcached_addr=hotel-app-mmc:11211 \ No newline at end of file + - --memcached_addr=hotel-app-mmc:11211 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/kn-recommendation.yaml b/tools/load-generator/yamls/hotel-app/kn-recommendation.yaml old mode 100644 new mode 100755 index 73347ff1b..98b62ae57 --- a/tools/load-generator/yamls/hotel-app/kn-recommendation.yaml +++ b/tools/load-generator/yamls/hotel-app/kn-recommendation.yaml @@ -48,4 +48,6 @@ spec: args: - --url=0.0.0.0 - --port=8083 - - --db_addr=hotel-app-database:27017 \ No newline at end of file + - --db_addr=hotel-app-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/kn-reservation.yaml b/tools/load-generator/yamls/hotel-app/kn-reservation.yaml old mode 100644 new mode 100755 index b4f037716..bc7d8f21b --- a/tools/load-generator/yamls/hotel-app/kn-reservation.yaml +++ b/tools/load-generator/yamls/hotel-app/kn-reservation.yaml @@ -50,4 +50,6 @@ spec: - --url=0.0.0.0 - --port=8083 - --db_addr=hotel-app-database:27017 - - --memcached_addr=hotel-app-mmc:11211 \ No newline at end of file + - --memcached_addr=hotel-app-mmc:11211 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/kn-user.yaml b/tools/load-generator/yamls/hotel-app/kn-user.yaml old mode 100644 new mode 100755 index 90485c378..bbb0117e5 --- a/tools/load-generator/yamls/hotel-app/kn-user.yaml +++ b/tools/load-generator/yamls/hotel-app/kn-user.yaml @@ -48,4 +48,6 @@ spec: args: - --url=0.0.0.0 - --port=8083 - - --db_addr=hotel-app-database:27017 \ No newline at end of file + - --db_addr=hotel-app-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/hotel-app/memcached.yaml b/tools/load-generator/yamls/hotel-app/memcached.yaml old mode 100644 new mode 100755 index 755b9560a..d4f644565 --- a/tools/load-generator/yamls/hotel-app/memcached.yaml +++ b/tools/load-generator/yamls/hotel-app/memcached.yaml @@ -38,16 +38,17 @@ spec: app: hotel-app-mmc spec: containers: - - name: memcached - image: docker.io/vhiveease/memcached - ports: - - containerPort: 11211 - env: - - name: MEMCACHED_CACHE_SIZE - value: "128" - - name: MEMCACHED_THREADS - value: "2" - + - name: memcached + image: docker.io/vhiveease/memcached + ports: + - containerPort: 11211 + env: + - name: MEMCACHED_CACHE_SIZE + value: "128" + - name: MEMCACHED_THREADS + value: "2" + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -59,6 +60,10 @@ spec: selector: app: hotel-app-mmc ports: - - name: memcached - port: 11211 - targetPort: 11211 \ No newline at end of file + - name: memcached + port: 11211 + targetPort: 11211 + template: + spec: + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/image-rotate-database.yaml b/tools/load-generator/yamls/image-rotate-go/image-rotate-database.yaml old mode 100644 new mode 100755 index 618f2ab4a..08631f911 --- a/tools/load-generator/yamls/image-rotate-go/image-rotate-database.yaml +++ b/tools/load-generator/yamls/image-rotate-go/image-rotate-database.yaml @@ -38,11 +38,12 @@ spec: app: image-rotate-database spec: containers: - - name: database - image: docker.io/vhiveease/mongodb - ports: - - containerPort: 27017 - + - name: database + image: docker.io/vhiveease/mongodb + ports: + - containerPort: 27017 + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -54,10 +55,13 @@ spec: selector: app: image-rotate-database ports: - - name: database - port: 27017 - targetPort: 27017 - + - name: database + port: 27017 + targetPort: 27017 + template: + spec: + nodeSelector: + node-role: perfer --- apiVersion: batch/v1 kind: Job @@ -67,8 +71,10 @@ spec: template: spec: containers: - - name: init-image-rotate-database - image: docker.io/vhiveease/image-rotate-init-database:latest - args: - - --db_addr=mongodb://image-rotate-database:27017 - restartPolicy: Never \ No newline at end of file + - name: init-image-rotate-database + image: docker.io/vhiveease/image-rotate-init-database:latest + args: + - --db_addr=mongodb://image-rotate-database:27017 + restartPolicy: Never + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-1.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-1.yaml old mode 100644 new mode 100755 index 1b6bd3afc..28f79124e --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-1.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-1.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-10.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-10.yaml old mode 100644 new mode 100755 index 9b0efc820..2a06ab166 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-10.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-10.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-11.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-11.yaml old mode 100644 new mode 100755 index cce06c559..8cec55d46 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-11.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-11.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-12.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-12.yaml old mode 100644 new mode 100755 index 7bdbfce97..5c77e577c --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-12.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-12.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-13.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-13.yaml old mode 100644 new mode 100755 index 81a8f4770..7f0e71f6d --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-13.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-13.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-14.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-14.yaml old mode 100644 new mode 100755 index 8734c0554..b142e94c2 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-14.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-14.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-15.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-15.yaml old mode 100644 new mode 100755 index 6af63ac8a..4b63763a5 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-15.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-15.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-16.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-16.yaml old mode 100644 new mode 100755 index 44e969e58..0861b6628 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-16.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-16.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-17.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-17.yaml old mode 100644 new mode 100755 index d2c744040..dc7ae0fe1 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-17.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-17.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-2.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-2.yaml old mode 100644 new mode 100755 index 46df5938b..1be049734 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-2.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-2.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-3.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-3.yaml old mode 100644 new mode 100755 index e795f13b6..c7228aebd --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-3.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-3.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-4.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-4.yaml old mode 100644 new mode 100755 index a6e83292b..880a417f5 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-4.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-4.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-5.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-5.yaml old mode 100644 new mode 100755 index 7cfcebadf..53c257d76 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-5.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-5.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-6.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-6.yaml old mode 100644 new mode 100755 index cd8a75981..6de5149d3 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-6.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-6.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-7.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-7.yaml old mode 100644 new mode 100755 index 2de7251fc..847b28fa7 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-7.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-7.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-8.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-8.yaml old mode 100644 new mode 100755 index 73fc7421f..b057ba56c --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-8.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-8.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-9.yaml b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-9.yaml old mode 100644 new mode 100755 index 505dde5bf..27f7b4ac9 --- a/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-9.yaml +++ b/tools/load-generator/yamls/image-rotate-go/kn-image-rotate-go-9.yaml @@ -23,5 +23,5 @@ spec: args: - --addr=0.0.0.0:50051 - --db_addr=mongodb://image-rotate-database:27017 - - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/generate-yamls.py b/tools/load-generator/yamls/image-rotate-python/generate-yamls.py old mode 100644 new mode 100755 diff --git a/tools/load-generator/yamls/image-rotate-python/image-rotate-database.yaml b/tools/load-generator/yamls/image-rotate-python/image-rotate-database.yaml old mode 100644 new mode 100755 index 618f2ab4a..08631f911 --- a/tools/load-generator/yamls/image-rotate-python/image-rotate-database.yaml +++ b/tools/load-generator/yamls/image-rotate-python/image-rotate-database.yaml @@ -38,11 +38,12 @@ spec: app: image-rotate-database spec: containers: - - name: database - image: docker.io/vhiveease/mongodb - ports: - - containerPort: 27017 - + - name: database + image: docker.io/vhiveease/mongodb + ports: + - containerPort: 27017 + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -54,10 +55,13 @@ spec: selector: app: image-rotate-database ports: - - name: database - port: 27017 - targetPort: 27017 - + - name: database + port: 27017 + targetPort: 27017 + template: + spec: + nodeSelector: + node-role: perfer --- apiVersion: batch/v1 kind: Job @@ -67,8 +71,10 @@ spec: template: spec: containers: - - name: init-image-rotate-database - image: docker.io/vhiveease/image-rotate-init-database:latest - args: - - --db_addr=mongodb://image-rotate-database:27017 - restartPolicy: Never \ No newline at end of file + - name: init-image-rotate-database + image: docker.io/vhiveease/image-rotate-init-database:latest + args: + - --db_addr=mongodb://image-rotate-database:27017 + restartPolicy: Never + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-1.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-1.yaml old mode 100644 new mode 100755 index ba3097419..224367402 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-1.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-1.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-10.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-10.yaml old mode 100644 new mode 100755 index 6d29556de..ed4cf1517 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-10.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-10.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-11.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-11.yaml old mode 100644 new mode 100755 index 535a329a7..2344bee03 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-11.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-11.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-12.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-12.yaml old mode 100644 new mode 100755 index 42fc33eb3..a4bde917e --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-12.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-12.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-13.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-13.yaml old mode 100644 new mode 100755 index 66553b48c..5a884b8d2 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-13.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-13.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-14.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-14.yaml old mode 100644 new mode 100755 index e61c992e0..9f36efb2c --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-14.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-14.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-15.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-15.yaml old mode 100644 new mode 100755 index c5a774aeb..9e46ce8fc --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-15.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-15.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-16.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-16.yaml old mode 100644 new mode 100755 index e3af7b04b..6122a2bbc --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-16.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-16.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-17.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-17.yaml old mode 100644 new mode 100755 index 270ef94f9..13dc3a6d7 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-17.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-17.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-2.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-2.yaml old mode 100644 new mode 100755 index 5fc0badfc..171641eb6 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-2.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-2.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-3.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-3.yaml old mode 100644 new mode 100755 index 6acaeff36..89c00b120 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-3.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-3.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-4.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-4.yaml old mode 100644 new mode 100755 index 913b09dc8..7c4f310ac --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-4.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-4.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-5.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-5.yaml old mode 100644 new mode 100755 index 2c7b6bbcf..9f4b60a52 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-5.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-5.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-6.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-6.yaml old mode 100644 new mode 100755 index 47e1dbac2..3d914b133 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-6.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-6.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-7.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-7.yaml old mode 100644 new mode 100755 index 4f2522846..feef7a949 --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-7.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-7.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-8.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-8.yaml old mode 100644 new mode 100755 index 611defd22..3b850deeb --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-8.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-8.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-9.yaml b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-9.yaml old mode 100644 new mode 100755 index 66d51bad2..85c079dfb --- a/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-9.yaml +++ b/tools/load-generator/yamls/image-rotate-python/kn-image-rotate-python-9.yaml @@ -24,3 +24,5 @@ spec: - --addr=0.0.0.0 - --port=50051 - --db_addr=mongodb://image-rotate-database:27017 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/database.yaml b/tools/load-generator/yamls/online-shop/database.yaml old mode 100644 new mode 100755 index 3145a4cdf..420afbb1d --- a/tools/load-generator/yamls/online-shop/database.yaml +++ b/tools/load-generator/yamls/online-shop/database.yaml @@ -38,11 +38,12 @@ spec: app: online-shop-database spec: containers: - - name: databse - image: redis:alpine - ports: - - containerPort: 6379 - + - name: databse + image: redis:alpine + ports: + - containerPort: 6379 + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -54,6 +55,10 @@ spec: selector: app: online-shop-database ports: - - name: database - port: 6379 - targetPort: 6379 \ No newline at end of file + - name: database + port: 6379 + targetPort: 6379 + template: + spec: + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-adservice.yaml b/tools/load-generator/yamls/online-shop/kn-adservice.yaml old mode 100644 new mode 100755 index d3b52369e..300a903d0 --- a/tools/load-generator/yamls/online-shop/kn-adservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-adservice.yaml @@ -47,11 +47,13 @@ spec: - name: function image: docker.io/vhiveease/onlineshop-adservice:latest env: - - name: PORT - value: "9555" - - name: DISABLE_TRACING - value: "1" - - name: DISABLE_PROFILER - value: "1" - - name: DISABLE_DEBUGGER - value: "1" \ No newline at end of file + - name: PORT + value: "9555" + - name: DISABLE_TRACING + value: "1" + - name: DISABLE_PROFILER + value: "1" + - name: DISABLE_DEBUGGER + value: "1" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-cartservice.yaml b/tools/load-generator/yamls/online-shop/kn-cartservice.yaml old mode 100644 new mode 100755 index e64f06e28..850d0aaad --- a/tools/load-generator/yamls/online-shop/kn-cartservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-cartservice.yaml @@ -57,4 +57,6 @@ spec: - name: DISABLE_DEBUGGER value: "1" - name: REDIS_ADDR - value: "online-shop-database:6379" \ No newline at end of file + value: "online-shop-database:6379" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-currencyservice.yaml b/tools/load-generator/yamls/online-shop/kn-currencyservice.yaml old mode 100644 new mode 100755 index 11cf7dbdf..2cac4cc05 --- a/tools/load-generator/yamls/online-shop/kn-currencyservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-currencyservice.yaml @@ -48,11 +48,13 @@ spec: - name: function image: docker.io/vhiveease/onlineshop-currencyservice:latest env: - - name: PORT - value: "7000" - - name: DISABLE_TRACING - value: "1" - - name: DISABLE_PROFILER - value: "1" - - name: DISABLE_DEBUGGER - value: "1" \ No newline at end of file + - name: PORT + value: "7000" + - name: DISABLE_TRACING + value: "1" + - name: DISABLE_PROFILER + value: "1" + - name: DISABLE_DEBUGGER + value: "1" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-emailservice.yaml b/tools/load-generator/yamls/online-shop/kn-emailservice.yaml old mode 100644 new mode 100755 index 078a0f15e..bc67f399b --- a/tools/load-generator/yamls/online-shop/kn-emailservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-emailservice.yaml @@ -46,11 +46,13 @@ spec: - name: function image: docker.io/vhiveease/onlineshop-emailservice:latest env: - - name: PORT - value: "8080" - - name: DISABLE_TRACING - value: "1" - - name: DISABLE_PROFILER - value: "1" - - name: DISABLE_DEBUGGER - value: "1" \ No newline at end of file + - name: PORT + value: "8080" + - name: DISABLE_TRACING + value: "1" + - name: DISABLE_PROFILER + value: "1" + - name: DISABLE_DEBUGGER + value: "1" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-paymentservice.yaml b/tools/load-generator/yamls/online-shop/kn-paymentservice.yaml old mode 100644 new mode 100755 index f1e43bac2..c9a0c4f9b --- a/tools/load-generator/yamls/online-shop/kn-paymentservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-paymentservice.yaml @@ -47,11 +47,13 @@ spec: - name: function image: docker.io/vhiveease/onlineshop-paymentservice:latest env: - - name: PORT - value: "50051" - - name: DISABLE_TRACING - value: "1" - - name: DISABLE_PROFILER - value: "1" - - name: DISABLE_DEBUGGER - value: "1" \ No newline at end of file + - name: PORT + value: "50051" + - name: DISABLE_TRACING + value: "1" + - name: DISABLE_PROFILER + value: "1" + - name: DISABLE_DEBUGGER + value: "1" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-productcatalogservice.yaml b/tools/load-generator/yamls/online-shop/kn-productcatalogservice.yaml old mode 100644 new mode 100755 index 1ad2296a4..dbe69ccbf --- a/tools/load-generator/yamls/online-shop/kn-productcatalogservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-productcatalogservice.yaml @@ -48,11 +48,13 @@ spec: - name: function image: docker.io/vhiveease/onlineshop-productcatalogservice:latest env: - - name: PORT - value: "3550" - - name: DISABLE_TRACING - value: "1" - - name: DISABLE_PROFILER - value: "1" - - name: DISABLE_DEBUGGER - value: "1" \ No newline at end of file + - name: PORT + value: "3550" + - name: DISABLE_TRACING + value: "1" + - name: DISABLE_PROFILER + value: "1" + - name: DISABLE_DEBUGGER + value: "1" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/online-shop/kn-shippingservice.yaml b/tools/load-generator/yamls/online-shop/kn-shippingservice.yaml old mode 100644 new mode 100755 index f982505eb..5db7fc732 --- a/tools/load-generator/yamls/online-shop/kn-shippingservice.yaml +++ b/tools/load-generator/yamls/online-shop/kn-shippingservice.yaml @@ -47,11 +47,13 @@ spec: - name: function image: docker.io/vhiveease/onlineshop-shippingservice:latest env: - - name: PORT - value: "50051" - - name: DISABLE_TRACING - value: "1" - - name: DISABLE_PROFILER - value: "1" - - name: DISABLE_DEBUGGER - value: "1" \ No newline at end of file + - name: PORT + value: "50051" + - name: DISABLE_TRACING + value: "1" + - name: DISABLE_PROFILER + value: "1" + - name: DISABLE_DEBUGGER + value: "1" + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1-1.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1-1.yaml old mode 100644 new mode 100755 index d3ac53e9f..e6c48419c --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1-1.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1-1.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10-10.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10-10.yaml old mode 100644 new mode 100755 index 4b2f30f2e..f11fb9f7f --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10-10.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10-10.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-100-101.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-100-101.yaml old mode 100644 new mode 100755 index c34700c56..82f2031dd --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-100-101.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-100-101.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1000-1010.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1000-1010.yaml old mode 100644 new mode 100755 index 4c9e81194..e1f513822 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1000-1010.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1000-1010.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10000-10100.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10000-10100.yaml old mode 100644 new mode 100755 index 7e6f684e7..344a02379 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10000-10100.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-10000-10100.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-12000-12120.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-12000-12120.yaml old mode 100644 new mode 100755 index 160b79d30..af5d7739a --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-12000-12120.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-12000-12120.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-14000-14140.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-14000-14140.yaml old mode 100644 new mode 100755 index 25468664f..a711096be --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-14000-14140.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-14000-14140.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1500-1515.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1500-1515.yaml old mode 100644 new mode 100755 index 31e555569..d4453d6ca --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1500-1515.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-1500-1515.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-16000-16160.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-16000-16160.yaml old mode 100644 new mode 100755 index 8bc24345f..81668b266 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-16000-16160.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-16000-16160.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-18000-18180.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-18000-18180.yaml old mode 100644 new mode 100755 index 5b1820a28..45bfba089 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-18000-18180.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-18000-18180.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20-20.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20-20.yaml old mode 100644 new mode 100755 index fecd98a16..dbfe6db0c --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20-20.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20-20.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-200-202.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-200-202.yaml old mode 100644 new mode 100755 index f380b0e9a..061f6456e --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-200-202.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-200-202.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2000-2020.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2000-2020.yaml old mode 100644 new mode 100755 index 3d6ca4433..d9a4f0e50 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2000-2020.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2000-2020.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20000-20200.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20000-20200.yaml old mode 100644 new mode 100755 index 6dd94bae1..2eb3a46e4 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20000-20200.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-20000-20200.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2500-2525.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2500-2525.yaml old mode 100644 new mode 100755 index b0858921c..e34ef3069 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2500-2525.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-2500-2525.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-300-303.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-300-303.yaml old mode 100644 new mode 100755 index 7e46b2e91..aa48e1cc0 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-300-303.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-300-303.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-3000-3030.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-3000-3030.yaml old mode 100644 new mode 100755 index 83a7951b9..9b79185c6 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-3000-3030.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-3000-3030.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-45-45.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-45-45.yaml old mode 100644 new mode 100755 index e52a5c443..2483d11cd --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-45-45.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-45-45.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-450-454.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-450-454.yaml old mode 100644 new mode 100755 index 15fac635e..6a2fd2147 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-450-454.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-450-454.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-4500-4545.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-4500-4545.yaml old mode 100644 new mode 100755 index 18b9736bf..3900a1298 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-4500-4545.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-4500-4545.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-5-5.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-5-5.yaml old mode 100644 new mode 100755 index 5d97e2dda..1b80ecd1e --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-5-5.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-5-5.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-700-707.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-700-707.yaml old mode 100644 new mode 100755 index 6535e9105..d13e53756 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-700-707.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-700-707.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-7000-7070.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-7000-7070.yaml old mode 100644 new mode 100755 index b1304e04b..fd09d87ba --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-7000-7070.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-7000-7070.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-8500-8585.yaml b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-8500-8585.yaml old mode 100644 new mode 100755 index 0692505bc..d408f64d2 --- a/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-8500-8585.yaml +++ b/tools/load-generator/yamls/rnn-serving/kn-rnn-serving-python-8500-8585.yaml @@ -28,3 +28,5 @@ spec: - --port=50051 - --default_language=French - --num_strings=15 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-1.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-1.yaml old mode 100644 new mode 100755 index 3ff8796c7..eb4f95565 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-1.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-1.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=1 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-10.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-10.yaml old mode 100644 new mode 100755 index 9ed1b0c57..51e734937 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-10.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-10.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=10 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-100.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-100.yaml old mode 100644 new mode 100755 index a9800b039..8ae8f6dd3 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-100.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-100.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=100 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-2.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-2.yaml old mode 100644 new mode 100755 index 16664d2fb..05af8dd28 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-2.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-2.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=2 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-20.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-20.yaml old mode 100644 new mode 100755 index 5e404ade2..d9fe7f6d8 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-20.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-20.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=20 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-200.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-200.yaml old mode 100644 new mode 100755 index 6d0b11f81..577ff8019 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-200.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-200.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=200 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-30.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-30.yaml old mode 100644 new mode 100755 index 4e14622a2..290995564 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-30.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-30.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=30 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-300.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-300.yaml old mode 100644 new mode 100755 index 645fb8b70..ae27bb8b4 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-300.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-300.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=300 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-40.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-40.yaml old mode 100644 new mode 100755 index 878d90d99..ae8c4e73c --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-40.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-40.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=40 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-400.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-400.yaml old mode 100644 new mode 100755 index 603a6e5a0..f166a08cd --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-400.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-400.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=400 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-5.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-5.yaml old mode 100644 new mode 100755 index 1c54a1aa5..fb6d81a8c --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-5.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-5.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=5 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-50.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-50.yaml old mode 100644 new mode 100755 index 952c7673f..1f2b1bd52 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-50.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-50.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=50 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-500.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-500.yaml old mode 100644 new mode 100755 index aee11b3b6..140e99d89 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-500.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-500.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=500 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-60.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-60.yaml old mode 100644 new mode 100755 index c25a68996..620209a92 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-60.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-60.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=60 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-600.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-600.yaml old mode 100644 new mode 100755 index 2f2c474d1..cc0426217 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-600.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-600.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=600 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-70.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-70.yaml old mode 100644 new mode 100755 index 6531d0c16..7ceb1ac6e --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-70.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-70.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=70 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-700.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-700.yaml old mode 100644 new mode 100755 index 579a56562..8f6609f47 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-700.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-700.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=700 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-800.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-800.yaml old mode 100644 new mode 100755 index e744ea836..a3750196a --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-800.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-800.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=800 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-85.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-85.yaml old mode 100644 new mode 100755 index 5142760f2..a949f300b --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-85.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-85.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=85 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-900.yaml b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-900.yaml old mode 100644 new mode 100755 index 0959ec5be..8202905d7 --- a/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-900.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/kn-video-analytics-standalone-python-900.yaml @@ -26,4 +26,5 @@ spec: - --db_addr=mongodb://video-analytics-standalone-database:27017 - --default_video=default.mp4 - --num_frames=900 - + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-analytics-standalone/video-analytics-standalone-database.yaml b/tools/load-generator/yamls/video-analytics-standalone/video-analytics-standalone-database.yaml old mode 100644 new mode 100755 index 058944e4e..dd03a792f --- a/tools/load-generator/yamls/video-analytics-standalone/video-analytics-standalone-database.yaml +++ b/tools/load-generator/yamls/video-analytics-standalone/video-analytics-standalone-database.yaml @@ -38,11 +38,12 @@ spec: app: video-analytics-standalone-database spec: containers: - - name: database - image: docker.io/vhiveease/mongodb - ports: - - containerPort: 27017 - + - name: database + image: docker.io/vhiveease/mongodb + ports: + - containerPort: 27017 + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -54,10 +55,13 @@ spec: selector: app: video-analytics-standalone-database ports: - - name: database - port: 27017 - targetPort: 27017 - + - name: database + port: 27017 + targetPort: 27017 + template: + spec: + nodeSelector: + node-role: perfer --- apiVersion: batch/v1 kind: Job @@ -67,8 +71,10 @@ spec: template: spec: containers: - - name: init-video-analytics-standalone-database - image: docker.io/vhiveease/video-analytics-standalone-init-database:latest - args: - - --db_addr=mongodb://video-analytics-standalone-database:27017 - restartPolicy: Never \ No newline at end of file + - name: init-video-analytics-standalone-database + image: docker.io/vhiveease/video-analytics-standalone-init-database:latest + args: + - --db_addr=mongodb://video-analytics-standalone-database:27017 + restartPolicy: Never + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-10.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-10.yaml old mode 100644 new mode 100755 index 7f41e04f5..4d3b36d0e --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-10.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-10.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=10 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-100.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-100.yaml old mode 100644 new mode 100755 index c66469211..28ef37c4a --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-100.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-100.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=100 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-1000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-1000.yaml old mode 100644 new mode 100755 index d4553ffba..531c56799 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-1000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-1000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=1000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-1500.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-1500.yaml old mode 100644 new mode 100755 index a2e3f5960..a75380144 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-1500.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-1500.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=1500 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-20.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-20.yaml old mode 100644 new mode 100755 index e7e98ba26..1a4922ed5 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-20.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-20.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=20 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-200.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-200.yaml old mode 100644 new mode 100755 index 78fe8de73..24495c1ca --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-200.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-200.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=200 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-2000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-2000.yaml old mode 100644 new mode 100755 index 0b15c34d2..ee97c23e3 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-2000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-2000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=2000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-3000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-3000.yaml old mode 100644 new mode 100755 index 41e62acfa..635587bf7 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-3000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-3000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=3000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-320.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-320.yaml old mode 100644 new mode 100755 index 36c6a4f83..24256e365 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-320.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-320.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=320 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-4000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-4000.yaml old mode 100644 new mode 100755 index ca0cefef4..dd087a591 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-4000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-4000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=4000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-45.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-45.yaml old mode 100644 new mode 100755 index 109fb50a5..742f61695 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-45.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-45.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=45 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-450.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-450.yaml old mode 100644 new mode 100755 index 5a67314ee..2130ba07d --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-450.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-450.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=450 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-5000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-5000.yaml old mode 100644 new mode 100755 index f9606e749..31a20ce83 --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-5000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-5000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=5000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-6000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-6000.yaml old mode 100644 new mode 100755 index 0cba4805f..44aae182e --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-6000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-6000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=6000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-70.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-70.yaml old mode 100644 new mode 100755 index cade7cb52..562dcc80c --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-70.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-70.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=70 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-700.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-700.yaml old mode 100644 new mode 100755 index 0af58f21f..860be963a --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-700.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-700.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=700 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/kn-video-processing-python-7000.yaml b/tools/load-generator/yamls/video-processing/kn-video-processing-python-7000.yaml old mode 100644 new mode 100755 index 5f6cc6e55..6e68f9c9f --- a/tools/load-generator/yamls/video-processing/kn-video-processing-python-7000.yaml +++ b/tools/load-generator/yamls/video-processing/kn-video-processing-python-7000.yaml @@ -26,3 +26,5 @@ spec: - --db_addr=mongodb://video-processing-database:27017 - --default_video=default.mp4 - --num_frames=7000 + nodeSelector: + node-role: perfer diff --git a/tools/load-generator/yamls/video-processing/video-processing-database.yaml b/tools/load-generator/yamls/video-processing/video-processing-database.yaml old mode 100644 new mode 100755 index c2bee1567..8fe4970d6 --- a/tools/load-generator/yamls/video-processing/video-processing-database.yaml +++ b/tools/load-generator/yamls/video-processing/video-processing-database.yaml @@ -38,11 +38,12 @@ spec: app: video-processing-database spec: containers: - - name: database - image: docker.io/vhiveease/mongodb - ports: - - containerPort: 27017 - + - name: database + image: docker.io/vhiveease/mongodb + ports: + - containerPort: 27017 + nodeSelector: + node-role: perfer --- apiVersion: v1 kind: Service @@ -54,10 +55,13 @@ spec: selector: app: video-processing-database ports: - - name: database - port: 27017 - targetPort: 27017 - + - name: database + port: 27017 + targetPort: 27017 + template: + spec: + nodeSelector: + node-role: perfer --- apiVersion: batch/v1 kind: Job @@ -67,8 +71,10 @@ spec: template: spec: containers: - - name: init-video-processing-database - image: docker.io/vhiveease/video-processing-init-database:latest - args: - - --db_addr=mongodb://video-processing-database:27017 - restartPolicy: Never \ No newline at end of file + - name: init-video-processing-database + image: docker.io/vhiveease/video-processing-init-database:latest + args: + - --db_addr=mongodb://video-processing-database:27017 + restartPolicy: Never + nodeSelector: + node-role: perfer diff --git a/tools/relay/server b/tools/relay/server new file mode 100755 index 000000000..55a84567c Binary files /dev/null and b/tools/relay/server differ