Skip to content

Latest commit

 

History

History
45 lines (39 loc) · 1.96 KB

installation.md

File metadata and controls

45 lines (39 loc) · 1.96 KB

Installation

Follow this guide to install iter8-kfserving on Kubernetes using Kustomize v3.

Prerequisites

  1. Kubernetes 1.15+
  2. KFServing v0.5.0-rc2+ with support for v1beta1 InferenceService APIs installed in your Kubernetes cluster. You can verify KFServing is up and running using the following command:
kubectl wait pods --all -n kfserving-system --for condition=ready --timeout=300s 

Install iter8-kfserving

TAG=v0.1.0-alpha
kustomize build github.com/iter8-tools/iter8-kfserving/install?ref=$TAG | kubectl apply -f -
kubectl wait crd -l creator=iter8 --for condition=established --timeout=120s
kustomize build github.com/iter8-tools/iter8-kfserving/install/iter8-metrics?ref=$TAG | kubectl apply -f -

Install kfserving-monitoring

TAG=v0.1.0-alpha
kustomize build github.com/iter8-tools/iter8-kfserving/install/monitoring/prometheus-operator?ref=$TAG | kubectl apply -f -
kubectl wait crd -l creator=iter8 --for condition=established --timeout=120s
kustomize build github.com/iter8-tools/iter8-kfserving/install/monitoring/prometheus?ref=$TAG | kubectl apply -f -

Verify your installation

kubectl wait --for condition=ready --timeout=300s pods --all -n iter8-system
kubectl wait --for condition=ready --timeout=300s pods --all -n kfserving-monitoring

Removal

Use the following command to remove kfserving-monitoring from your Kubernetes cluster.

TAG=v0.1.0-alpha
kustomize build github.com/iter8-tools/iter8-kfserving/install/monitoring/prometheus?ref=$TAG | kubectl delete -f -
kustomize build github.com/iter8-tools/iter8-kfserving/install/monitoring/prometheus-operator?ref=$TAG | kubectl delete -f -

Use the following command to remove iter8-kfserving from your Kubernetes cluster.

TAG=v0.1.0-alpha
kustomize build github.com/iter8-tools/iter8-kfserving/install?ref=$TAG | kubectl delete -f -