title: Error from server (NotFound): pods "$(kubectl" not found
body: <p>In the minikube hyper-v machine I did deployment of sawtooth-0, using <a href="https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/sawtooth-kubernetes-default.yaml" rel="nofollow noreferrer">sawtooth config file</a>.</p>
  
  <p>Now when I am checking running pods it seems to have some default ones but while trying to connect with the kubernetes shell container.</p>
  
  <pre><code>C:\Users\Debo&gt;kubectl get --all-namespaces
  You must specify the type of resource to get. Use "kubectl api-resources" for a complete list of supported resources.
  
  error: Required resource not specified.
  Use "kubectl explain &lt;resource&gt;" for a detailed description of that resource (e.g. kubectl explain pods).
  See 'kubectl get -h' for help and examples
  
  C:\Users\Debo&gt;kubectl get pods --all-namespaces
  NAMESPACE              NAME                                         READY   STATUS    RESTARTS   AGE
  default                sawtooth-0-65d547498c-mfrsb                  7/7     Running   1          120m
  kube-system            coredns-6955765f44-b684l                     1/1     Running   0          122m
  kube-system            coredns-6955765f44-tc4vg                     1/1     Running   0          122m
  kube-system            etcd-minikube                                1/1     Running   0          121m
  kube-system            kube-addon-manager-minikube                  1/1     Running   0          121m
  kube-system            kube-apiserver-minikube                      1/1     Running   0          121m
  kube-system            kube-controller-manager-minikube             1/1     Running   0          121m
  kube-system            kube-proxy-t7nhs                             1/1     Running   0          122m
  kube-system            kube-scheduler-minikube                      1/1     Running   0          121m
  kube-system            storage-provisioner                          1/1     Running   0          122m
  kubernetes-dashboard   dashboard-metrics-scraper-7b64584c5c-b8t7s   1/1     Running   0          122m
  kubernetes-dashboard   kubernetes-dashboard-79d9cd965-pn94z         1/1     Running   0          122m
  
  C:\Users\Debo&gt;kubectl get pods
  NAME                          READY   STATUS    RESTARTS   AGE
  sawtooth-0-65d547498c-mfrsb   7/7     Running   1          120m
  
  C:\Users\Debo&gt;kubectl exec -it $(kubectl get pods | awk "/sawtooth-0/ {print $1}") --container sawtooth-shell -- bash
  awk: /sawtooth-0/ {print $1})
  awk:                        ^ syntax error
  errcount: 1
  Error from server (NotFound): pods "$(kubectl" not found
  
  C:\Users\Debo&gt;
  </code></pre>