Skip to content

Commit

Permalink
Update 01-telco-revass-randomforest-pipeline.py
Browse files Browse the repository at this point in the history
Update route and add verify_ssl=False,
  • Loading branch information
a1bokhari authored Aug 31, 2024
1 parent df8498c commit 106a2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions revenueassurance/01-telco-revass-randomforest-pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

load_dotenv(override=True)

kubeflow_endpoint = os.getenv("KUBEFLOW_ENDPOINT", "http://ds-pipeline-dspa.tme-aix.svc.cluster.local:8888")
kubeflow_endpoint = os.getenv("KUBEFLOW_ENDPOINT", "http://ds-pipeline-dspa-tme-aix.apps.acmhub2.narlabs.io")
base_image = os.getenv("BASE_IMAGE", "image-registry.openshift-image-registry.svc.cluster.local:5000/tme-aix/environment:latest")

@dsl.component(
Expand Down Expand Up @@ -270,7 +270,7 @@ def pipeline(model_obc: str = "model"):
client = kfp.Client(
host=kubeflow_endpoint,
existing_token=bearer_token,
ssl_ca_cert=ssl_ca_cert,
verify_ssl=False,
)
result = client.create_run_from_pipeline_func(pipeline, arguments={}, experiment_name="revass")
print(f"Starting pipeline run with run_id: {result.run_id}")
Expand Down

0 comments on commit 106a2c7

Please sign in to comment.