When I dry the file it's not giving any error but when I create it it's giving error regarding the version
@kkkant15474 жыл бұрын
Hello I'm facing one problem that I have created Nginx server container inside the pod Now when I go inside the Pod Contianer The Internet is Not working inside the Container that is inside the Pod can You please tell me the reason
@AbhishekModi084 жыл бұрын
Please try below command sudo kubectl create service nodeport nginx --tcp=80:80 kubectl get svc kubectl patch svc nginx -p '{"spec":{"externalIPs":["ipaddress"]}}'
@kkkant15474 жыл бұрын
@@AbhishekModi08 , I'm practicing on the AWS machine Where I cerated 2 machines 1 for master Node and other For the worker Node, Actually I have created ClusterIP deployment On the Master Node Inside it I have created Nginx container Now when I'm taking the shell of that container in this situation the Nginx container cannot able to connect with the Internet