Skip to content

HelloWorldService in version "v1alpha1" cannot be handled as a HelloWorldService: strict decoding error: unknown field "spec.replicas" #1381

Closed
@SuyogShinde942

Description

@SuyogShinde942

I am getting this error while deploying the hs1.yaml
suyog@FVFJN826Q6L4-Suyogs hello-world % kubectl create -f hs1.yaml --kubeconfig=provider.conf
Error from server (BadRequest): error when creating "hs1.yaml": HelloWorldService in version "v1alpha1" cannot be handled as a HelloWorldService: strict decoding error: unknown field "spec.replicas"

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