Skip to content

Instantly share code, notes, and snippets.

View surajkota's full-sized avatar

Suraj Kota surajkota

View GitHub Profile
@surajkota
surajkota / kubeflow-cognito-kserve.yaml
Created April 25, 2023 21:39
KServe only Kubeflow deployment
#level 1
#cert-manager
cert-manager:
installation_options:
kustomize:
paths:
- ../../upstream/common/cert-manager/cert-manager/base
helm:
repo: remote
validations:
(kf) ubuntu@ip-172-31-0-119:~/kubeflow/kubeflow-manifests/tests/unit-tests$ make test
=== RUN TestKustomize
../../../../../../awsconfigs/common/aws-alb-ingress-controller/base
2022/04/21 00:34:27 well-defined vars that were never replaced: clusterName
--- PASS: TestKustomize (0.03s)
PASS
ok github.com/kubeflow/manifests/tests/awsconfigs/common/aws-alb-ingress-controller/base (cached)
=== RUN TestKustomize
../../../../../../awsconfigs/common/aws-authservice/base
--- PASS: TestKustomize (0.01s)
@surajkota
surajkota / sample_hosting_pipeline.py
Created May 7, 2020 14:10
Create a hosting endpoint on SageMaker using Kubeflow Pipeline components
import kfp
from kfp import components
from kfp import dsl
from kfp.aws import use_aws_secret
# Replace the argument with path to the component file or use load_component_from_url() method
sagemaker_model_op = components.load_component_from_file("../../model/component.yaml")
# Replace the argument with path to the component file or use load_component_from_url() method
sagemaker_deploy_op = components.load_component_from_file("../../deploy/component.yaml")