コード例 #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")