Kubernetes Kubectl create deployment命令部署docker映像(从dockerhub拉取)抛出;“未找到Kubectl命令”;错误

Kubernetes Kubectl create deployment命令部署docker映像(从dockerhub拉取)抛出;“未找到Kubectl命令”;错误,kubernetes,google-cloud-platform,google-kubernetes-engine,kubectl,Kubernetes,Google Cloud Platform,Google Kubernetes Engine,Kubectl,我在GCP上创建了一个Kubernetes集群,并试图从docker hub中提取图像并在容器中运行它。我正在使用下面的Kubectl命令 sutterhome1976@cloudshell:~ (cohesive-armor-310718)$ Kubectl create deployment hello-world-rest-api --image=in28min/hello-world-rest-api:0.0.1.RELEASE 这个错误意味着什么?docker的形象确实存在

我在GCP上创建了一个Kubernetes集群,并试图从docker hub中提取图像并在容器中运行它。我正在使用下面的Kubectl命令

  sutterhome1976@cloudshell:~ (cohesive-armor-310718)$ Kubectl create deployment hello-world-rest-api --image=in28min/hello-world-rest-api:0.0.1.RELEASE
这个错误意味着什么?docker的形象确实存在

   -bash: Kubectl: command not found
我确保图像存在于docker hub的

您似乎已大写
kubectl
;Linux是区分大小写的,你是完美的视觉。我的错。非常感谢你。我觉得我是个傻瓜。