Member-only story

Kubernetes fixing the error: “error: resource mapping not found for name no matches for kind “Deployment” in version “extensions/v1beta1”

--

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"
Error that I got

The error is pointing out to the api specification extensions/v1beta is outdated.

Outdated apiVersion

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.

Changing to “networking.k8s.io/v1” does not fix the problem

Instead, changing to apps/v1 does fix the error.

Changing to apps/v1 fixes the problem

--

--

Bryant Jimin Son
Bryant Jimin Son

Written by Bryant Jimin Son

A cloud practitioner talking about technology, travels & career tips. But I will sometimes cover financial advises and some random stuffs.

No responses yet