Serverless Installation Guide
KServe Serverless installation enables autoscaling based on request volume and supports scale down to and from zero. It also supports revision management and canary rollout based on revisions.
Kubernetes 1.17 is the minimally required version and please check the following recommended Knative, Istio versions for the corresponding Kubernetes version.
Recommended Version Matrix
Kubernetes Version | Recommended Istio Version | Recommended Knative Version |
---|---|---|
1.17 | 1.9 | 0.19, 0.20 |
1.18 | 1.9, 1.10 | 0.21, 0.22 |
1.19 | 1.9, 1.10, 1.11 | 0.23, 0.24 |
1.20 | 1.9, 1.10, 1.11 | 0.24, 0.25 |
1.21 | 1.10, 1.11 | 0.25, 0.26 |
1.22 | 1.11 | 0.25, 0.26 |
1. Install Istio
Please refer to the Istio install guide.
2. Install Knative Serving
Please refer to Knative Serving install guide.
Note
If you are looking to use PodSpec fields such as nodeSelector, affinity or tolerations which are now supported in the v1beta1 API spec, you need to turn on the corresponding feature flags in your Knative configuration.
3. Install Cert Manager
The minimally required Cert Manager version is 1.3.0 and you can refer to Cert Manager.
Note
Cert manager is required to provision webhook certs for production grade installation, alternatively you can run self signed certs generation script.
4. Install KServe
kubectl
kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.7.0-rc0/kserve.yaml