Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

error: unable to recognize "deployments/hello.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" #14

@urzumph

Description

@urzumph

I got this error when doing the "Creating Deployments" section of https://google.qwiklabs.com/focuses/1747?parent=catalog

It looks like this is an issue with the API version in the deployment yaml files. Doing this:

kubectl convert -f deployments/hello.yaml --output-version apps/v1 > deployments/new-hello.yaml

for each of the deployment yamls before the kubectl create -f fixed the issue for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions