Hello Shubham and Rushikesh,
Thanks for the nice article. I am getting below error after I create and try to apply service. yml. My Manifesto file was done and I was able to get the same, yet each time I do service, I get the following error. Please tell me how to get rid of this.
ubuntu@ip-172-31-39-240:~/k8s$ kubectl apply -f Service.yml Unable to connect to the server: net/http: TLS handshake timeout
ubuntu@ip-172-31-39-240:~/k8s$ pwd /home/ubuntu/k8s ubuntu@ip-172-31-39-240:~/k8s$ ls -lrt
ubuntu@ip-172-31-39-240:~/k8s$ cat Service.yml apiVersion: v1 kind: Service metadata: name: reddit-clone-service labels: app: reddit-clone spec: type: NodePort ports:
ubuntu@ip-172-31-39-240:~/k8s$ kubectl get deployment Unable to connect to the server: net/http: TLS handshake timeout ubuntu@ip-172-31-39-240:~/k8s$
Vinod Vashistha