Member-only story
Kubernetes fixing the error: “error: resource mapping not found for name no matches for kind “Deployment” in version “extensions/v1beta1”
May 27, 2024
I was getting the following error while trying to install Istio and to follow a tutorial:
error: resource mapping not found for name: "hostname-v1"
namespace: "" from "hostname.yaml": no matches for kind "Deployment" in
version "extensions/v1beta1"
The error is pointing out to the api
specification extensions/v1beta
is outdated.
When I check the Kubernetes’ Deprecated API version documentation, it points out that extensions/v1beta
. However, changing to networking.k8s.io/v1
does not fix this.
Instead, changing to apps/v1
does fix the error.