Пример #1
0
 def test_autoscaling(self):
     try:
         create_and_run_script(
             "../../examples/models/autoscaling", "autoscaling_example"
         )
     except CalledProcessError as e:
         run("helm delete loadtester --namespace seldon", shell=True, check=False)
         raise e
Пример #2
0
 def test_keda_prom_auto_scale(self):
     try:
         create_and_run_script("../../examples/keda", "keda_prom_auto_scale")
     except CalledProcessError as e:
         run(
             "helm delete seldon-core-analytics --namespace seldon-system",
             shell=True,
             check=False,
         )
         raise e
Пример #3
0
 def test_metrics(self):
     try:
         create_and_run_script("../../examples/models/metrics", "general_metrics")
     except CalledProcessError as e:
         run(
             "helm delete seldon-core-analytics --namespace seldon-system",
             shell=True,
             check=False,
         )
         raise e
Пример #4
0
 def test_ambassador_canary(self):
     create_and_run_script("../../examples/ambassador/canary", "ambassador_canary")
Пример #5
0
 def test_rolling_updates(self):
     create_and_run_script("../../notebooks", "rolling_updates")
Пример #6
0
 def test_server_examples(self):
     create_and_run_script("../../notebooks", "server_examples")
Пример #7
0
 def test_grpc_metadata(self):
     create_and_run_script("../../examples/models/metadata", "metadata_grpc")
Пример #8
0
 def test_ambassador_custom(self):
     create_and_run_script("../../examples/ambassador/custom", "ambassador_custom")
Пример #9
0
 def test_disruption_budgets(self):
     create_and_run_script(
         "../../examples/models/disruption_budgets", "pdbs_example"
     )
Пример #10
0
 def test_upgrade(self):
     try:
         create_and_run_script("../../notebooks", "operator_upgrade")
     except:
         run("make install_seldon", shell=True, check=False)
         raise
Пример #11
0
 def test_custom_metrics_server(self):
     create_and_run_script("../../examples/feedback/metrics-server", "README")
Пример #12
0
 def test_helm_examples(self):
     create_and_run_script("../../notebooks", "helm_examples")
Пример #13
0
 def test_sklearn_iris(self):
     create_and_run_script("../../examples/models/sklearn_iris", "sklearn_iris")
Пример #14
0
 def test_jsondata(self):
     create_and_run_script(
         "../../examples/models/sklearn_iris_jsondata", "sklearn_iris_jsondata"
     )
Пример #15
0
 def test_scaling(self):
     create_and_run_script("../../notebooks", "scale")
Пример #16
0
 def test_ambassador_headers(self):
     create_and_run_script("../../examples/ambassador/headers", "ambassador_headers")
Пример #17
0
 def test_ambassador_shadow(self):
     create_and_run_script("../../examples/ambassador/shadow", "ambassador_shadow")
Пример #18
0
 def test_istio_examples(self):
     create_and_run_script("../../notebooks", "istio_example")
Пример #19
0
 def test_max_grpc_msg_size(self):
     create_and_run_script("../../notebooks", "max_grpc_msg_size")
Пример #20
0
 def test_multiple_operators(self):
     create_and_run_script("../../notebooks", "multiple_operators")
Пример #21
0
 def test_graph_metadata(self):
     create_and_run_script("../../examples/models/metadata", "graph_metadata")
Пример #22
0
 def test_protocol_examples(self):
     create_and_run_script("../../notebooks", "protocol_examples")
Пример #23
0
 def test_payload_logging(self):
     create_and_run_script(
         "../../examples/models/payload_logging", "payload_logging"
     )
Пример #24
0
 def test_explainer_examples(self):
     create_and_run_script("../../notebooks", "explainer_examples")