Skip to content

Commit

Permalink
chore: clarify development k8s version
Browse files Browse the repository at this point in the history
knative-serving 1.7.2 helm chart depends on the HorizontalPodAutoscaler beta version, which triggers following error on k8s >1.25 as it went out of beta since then:

```
resource mapping not found for name: "activator" namespace: "knative-serving" from "https://github.com/knative/serving/releases/download/knative-v1.7.2/serving-core.yaml": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
ensure CRDs are installed first
resource mapping not found for name: "webhook" namespace: "knative-serving" from "https://github.com/knative/serving/releases/download/knative-v1.7.2/serving-core.yaml": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
```
  • Loading branch information
andrusha authored and ctron committed May 24, 2023
1 parent 13be169 commit 8aa49b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DEVELOPMENT.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In any case, you will need:
In any case, you need to be sure that you install at least the version of Rust mentioned above. If you installed
Rust using `rustup` and default options, then performing an upgrade should be as easy as running `rustup update`.

* **Kubernetes** - Some form of Kubernetes cluster
* **Kubernetes** - Some form of Kubernetes cluster (~1.25)
** **Minikube** is what seems to work best for development, and is easy to get started with.
** **Kind** also works, uses less resources, but is less tested.
** **OpenShift** also works and make several things easier (like proper DNS names and certs), but is
Expand Down Expand Up @@ -152,7 +152,7 @@ run `tunnel` in a separate shell

[source,shell]
----
minikube start --cpus 4 --memory 16384 --disk-size 20gb --addons ingress
minikube start --cpus 4 --memory 16384 --disk-size 20gb --addons ingress --kubernetes-version 1.25.9
# in a separate terminal, as it keeps running
minikube tunnel
----
Expand Down

0 comments on commit 8aa49b2

Please sign in to comment.