My GCP kubernetes cluster version is: Master version 1.15.7-gke.2
When I run in the cloud shell kubectl rollout restart
I am getting the error: unknown command "restart"
What might be the reason?
update
kubectl version
resulted: v1.15.7-gke.2
kubectl version --client
resulted: v1.15.7
fatnj@cloudshell:~ (pop)$ kubectl version --client
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.7", GitCommit:"6c143d35bb11d74970e7bc0b6c45b6bfdffc0bd4", GitTreeState:"clean", BuildDate:"2019-12-11T12:42:56Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
fatnj@cloudshell:~ (pop)$ kubectl rollout restart
error: required resource not specified
Thanks