When I try to use any of the kubectl commands, I get the following error
path does not exist
or
TLS handshake timeout
logs
ubuntu@ip-172-31-84-18:~$ sudo vi /etc/kubernetes/manifests/deployment-frontend.yaml
ubuntu@ip-172-31-84-18:~$ kubectl create -f deploy-frontend.yaml
error: the path "deploy-frontend.yaml" does not exist
ubuntu@ip-172-31-84-18:~$ kubectl create -f /etc/kubernetes/manifests/deployment-frontend.yaml
deployment.extensions/frontend created
ubuntu@ip-172-31-84-18:~$ kubectl create service nodeport frontend –-tcp=80:8888
error: exactly one NAME is required, got 2
See 'kubectl create service nodeport -h' for help and examples.
ubuntu@ip-172-31-84-18:~$