Skip to content

Commit

Permalink
use global variable for kserve_release_version (#407)
Browse files Browse the repository at this point in the history
Signed-off-by: jooho lee <[email protected]>
  • Loading branch information
Jooho authored Oct 20, 2024
1 parent 94c12e8 commit f2af31a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
7 changes: 3 additions & 4 deletions docs/admin/kubernetes_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Kubernetes version.

## Recommended Version Matrix
| Kubernetes Version | Recommended Istio Version |
|:-------------------|:--------------------------|
| :----------------- | :------------------------ |
| 1.27 | 1.18, 1.19 |
| 1.28 | 1.19, 1.20 |
| 1.29 | 1.20, 1.21 |
Expand Down Expand Up @@ -46,14 +46,14 @@ The minimally required Cert Manager version is 1.9.0 and you can refer to [Cert

=== "kubectl"
```bash
kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.13.0/kserve.yaml
kubectl apply -f https://github.com/kserve/kserve/releases/download/v{{ kserve_release_version }}/kserve.yaml
```

Install KServe default serving runtimes:

=== "kubectl"
```bash
kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.13.0/kserve-cluster-resources.yaml
kubectl apply -f https://github.com/kserve/kserve/releases/download/v{{ kserve_release_version }}/kserve-cluster-resources.yaml
```

**ii. Change default deployment mode and ingress option**
Expand All @@ -72,4 +72,3 @@ then modify the `ingressClassName` in `ingress` section to point to `IngressClas
"ingressClassName" : "your-ingress-class",
}
```

8 changes: 4 additions & 4 deletions docs/admin/serverless/serverless.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Kubernetes version.

## Recommended Version Matrix
| Kubernetes Version | Recommended Istio Version | Recommended Knative Version |
|:-------------------|:--------------------------|:----------------------------|
| :----------------- | :------------------------ | :-------------------------- |
| 1.27 | 1.18,1.19 | 1.10,1.11 |
| 1.28 | 1.19,1.20 | 1.11,1.12.4 |
| 1.29 | 1.20,1.21 | 1.12.4,1.13.1 |
Expand Down Expand Up @@ -35,14 +35,14 @@ The minimally required Cert Manager version is 1.9.0 and you can refer to [Cert
## 4. Install KServe
=== "kubectl"
```bash
kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.13.0/kserve.yaml
kubectl apply -f https://github.com/kserve/kserve/releases/download/v{{ kserve_release_version }}/kserve.yaml
```

## 5. Install KServe Built-in ClusterServingRuntimes

{{ kserve_release_version }}
=== "kubectl"
```bash
kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.13.0/kserve-cluster-resources.yaml
kubectl apply -f https://github.com/kserve/kserve/releases/download/v{{ kserve_release_version }}/kserve-cluster-resources.yaml
```

!!! note
Expand Down
4 changes: 2 additions & 2 deletions docs/get_started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ The [Kubernetes CLI (`kubectl`)](https://kubernetes.io/docs/tasks/tools/install-

or install via our published Helm Charts:
```bash
helm install kserve-crd oci://ghcr.io/kserve/charts/kserve-crd --version v0.13.0
helm install kserve oci://ghcr.io/kserve/charts/kserve --version v0.13.0
helm install kserve-crd oci://ghcr.io/kserve/charts/kserve-crd --version v{{ kserve_release_version }}
helm install kserve oci://ghcr.io/kserve/charts/kserve --version v{{ kserve_release_version }}
```
2 changes: 1 addition & 1 deletion docs/modelserving/v1beta1/triton/huggingface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Create an InferenceService with triton predictor by specifying the `storageUri`
- --model_id=bert-base-uncased
- --predictor_protocol=v2
- --tensor_input_names=input_ids
image: kserve/huggingfaceserver:v0.13.0
image: kserve/huggingfaceserver:v{{ kserve_release_version }}
name: kserve-container
resources:
limits:
Expand Down
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ copyright: "Copyright © 2021 The KServe Authors"

plugins:
- search
- macros:
on_undefined: keep
- mkdocstrings:
default_handler: python
handlers:
Expand All @@ -191,8 +193,10 @@ plugins:
filter: ""
syntaxHighlightTheme: monokai
tryItOutEnabled: true


extra:
kserve_release_version: 0.13.0
social:
- icon: fontawesome/brands/github
link: https://github.com/kserve
Expand Down

0 comments on commit f2af31a

Please sign in to comment.