From 8aa49b2482442bb13d54d97a308a16f476ace203 Mon Sep 17 00:00:00 2001 From: andrusha Date: Wed, 17 May 2023 14:46:34 +0200 Subject: [PATCH] chore: clarify development k8s version 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" ``` --- DEVELOPMENT.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEVELOPMENT.adoc b/DEVELOPMENT.adoc index a2a7b3944..4256353ba 100644 --- a/DEVELOPMENT.adoc +++ b/DEVELOPMENT.adoc @@ -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 @@ -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 ----