Skip to content

error: SchemaError(io.k8s.api.apps.v1beta2.DaemonSet): invalid object doesn't have additional properties #37

@rajithd-aurea

Description

@rajithd-aurea

Getting following error when applying deployment.yaml.
kubernetes-demo-master/Introduction to Kubernetes/Your First k8s App/deployment.yaml

kubectl apply -f deployment.yaml

error: SchemaError(io.k8s.api.apps.v1beta2.DaemonSet): invalid object doesn't have additional properties

kubectl version

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

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