question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting started - Quick install broken with kube 1.25

See original GitHub issue

I’m trying to evaluate kserve for model deployment. I started with the quick guide, quick install: https://kserve.github.io/website/0.7/get_started/

I created a kubernetes cluster using kind:

> kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.25.2) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹️
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a nice day! 👋
> kubectl cluster-info --context kind-kind
Kubernetes control plane is running at https://127.0.0.1:33385
CoreDNS is running at https://127.0.0.1:33385/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
> kubectl config get-contexts
CURRENT   NAME            CLUSTER         AUTHINFO        NAMESPACE
*         kind-kind       kind-kind       kind-kind

Next I want to install kserve but it fails hard:

> curl -s "https://raw.githubusercontent.com/kserve/kserve/release-0.7/hack/quick_install.sh" | bash
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
v4
bash: line 42: [: v4: integer expression expected
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4856  100  4856    0     0   9256      0 --:--:-- --:--:-- --:--:--  9256

Downloading istio-1.9.0 from https://github.com/istio/istio/releases/download/1.9.0/istio-1.9.0-linux-amd64.tar.gz ...

Istio 1.9.0 Download Complete!

Istio has been successfully downloaded into the istio-1.9.0 folder on your system.

Next Steps:
See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.

To configure the istioctl client tool for your workstation,
add the /home/tux/dev/kserve-test/istio-1.9.0/bin directory to your environment path variable with:
	 export PATH="$PATH:/home/tux/dev/kserve-test/istio-1.9.0/bin"

Begin the Istio pre-installation check by running:
	 istioctl x precheck

Need more information? Visit https://istio.io/latest/docs/setup/install/
namespace/istio-system unchanged
2022-10-18T12:14:19.363443Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//authorizationpolicies.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:19.382518Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//destinationrules.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:19.392594Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//envoyfilters.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:19.532051Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//gateways.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:20.051337Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//istiooperators.install.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:20.574911Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//peerauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:21.092098Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//requestauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:21.613210Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//serviceentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:22.132885Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//sidecars.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:22.651595Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//virtualservices.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:23.172129Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//workloadentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-10-18T12:14:23.693187Z	error	installer	failed to update resource with server-side apply for obj CustomResourceDefinition//workloadgroups.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
- Processing resources for Istio core.                                                   2022-10-18T12:14:24.211071Z	error	installer	failed to update resource with server-side apply for obj ValidatingWebhookConfiguration//istiod-istio-system: no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
✘ Istio core encountered an error: failed to update resource with server-side apply for obj CustomResourceDefinition//authorizationpolicies.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//destinationrules.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//envoyfilters.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//gateways.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//istiooperators.install.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//peerauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//requestauthentications.security.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//serviceentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//sidecars.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//virtualservices.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//workloadentries.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj CustomResourceDefinition//workloadgroups.networking.istio.io: no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
failed to update resource with server-side apply for obj ValidatingWebhookConfiguration//istiod-istio-system: no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
2022-10-18T12:14:24.732110Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:25.251373Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:25.770855Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:26.291240Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:26.811019Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:27.332088Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:27.850218Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
2022-10-18T12:14:28.370667Z	error	installer	failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
- Processing resources for Istiod.                                                       2022-10-18T12:14:28.890315Z	error	installer	failed to update resource with server-side apply for obj MutatingWebhookConfiguration//istio-sidecar-injector: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
- Processing resources for Istiod.                                                       2022-10-18T12:14:29.409505Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
2022-10-18T12:14:29.928727Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
✘ Istiod encountered an error: failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-metadata-exchange-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.8: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.9: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3"
failed to update resource with server-side apply for obj MutatingWebhookConfiguration//istio-sidecar-injector: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istiod: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
- Processing resources for Ingress gateways.                                             2022-10-18T12:14:30.449519Z	error	installer	failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-ingressgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
  Processing resources for Ingress gateways.                                             2022-10-18T12:14:30.969277Z	error	installer	failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
✘ Ingress gateways encountered an error: failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istio-ingressgateway: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
failed to update resource with server-side apply for obj HorizontalPodAutoscaler/istio-system/istio-ingressgateway: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"
- Pruning removed resources                                                              2022-10-18T12:14:31.488847Z	warn	installer	retrieving resources to prune type autoscaling/v2beta1, Kind=HorizontalPodAutoscaler: no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1" not found
2022-10-18T12:14:32.009612Z	warn	installer	retrieving resources to prune type policy/v1beta1, Kind=PodDisruptionBudget: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" not found
2022-10-18T12:14:32.528777Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=DestinationRule: no matches for kind "DestinationRule" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:33.050380Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=EnvoyFilter: no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:33.569010Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=Gateway: no matches for kind "Gateway" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:34.089464Z	warn	installer	retrieving resources to prune type networking.istio.io/v1alpha3, Kind=VirtualService: no matches for kind "VirtualService" in version "networking.istio.io/v1alpha3" not found
2022-10-18T12:14:34.610107Z	warn	installer	retrieving resources to prune type security.istio.io/v1beta1, Kind=PeerAuthentication: no matches for kind "PeerAuthentication" in version "security.istio.io/v1beta1" not found
2022-10-18T12:14:35.129131Z	warn	installer	retrieving resources to prune type admissionregistration.k8s.io/v1beta1, Kind=MutatingWebhookConfiguration: no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1" not found
2022-10-18T12:14:35.648722Z	warn	installer	retrieving resources to prune type admissionregistration.k8s.io/v1beta1, Kind=ValidatingWebhookConfiguration: no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1" not found
Error: failed to install manifests: errors occurred during operation

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yuzisuncommented, Oct 18, 2022

Please use the script from master branch if you are running kube 1.25.

0reactions
yuzisuncommented, Oct 20, 2022

Thnx for the help. One note here though, did you update the docs? Otherwise this question will pop up again…

Check out our support matrix https://kserve.github.io/website/0.9/admin/serverless/, we do not officially support kubernetes 1.25 with 0.9.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubernetes 1.25 - What's new? - New features and deprecations
Kubernetes 1.25 brings 40 enhancements, Pod Security Control replacing PSPs, Checkpoints for forensic analysis… Discover more!
Read more >
Install and Set Up kubectl on macOS - Kubernetes
Install kubectl binary with curl on macOS ... Download the latest release: ... Note: To download a specific version, replace the $(curl -L...
Read more >
How To Use minikube for Local Kubernetes Development and ...
To begin using minikube , you can run it with the start command, which will automatically create a local Kubernetes cluster using multiple ......
Read more >
Getting Started with Kubernetes Red Hat Enterprise Linux ...
To prepare for Kubernetes, you need to install RHEL 7 or RHEL Atomic Host, disable firewalld, get two containers, and add them to...
Read more >
Quick Start - kind - Kubernetes
Quick Start. This guide covers getting started with the kind command. ... To install kubectl see the upstream kubectl installation docs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found