Welcome to the new Linux Foundation Forum!

Lab 8.1

I am unable to deploy two nginx servers using kubectl, I didn't modify the delivered script.

[email protected]:s_08 # kubectl create -f nginx-one.yaml
error: unable to recognize "nginx-one.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"


[email protected]:s_08 # kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-02T17:01:15Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.1", GitCommit:"d647ddbd755faf07169599a625faf302ffc34458", GitTreeState:"clean", BuildDate:"2019-10-02T16:51:36Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

Pls let me know if I am missing anything.

Regards,
Sam

Comments

Sign In or Register to comment.