I am trying to deploy nginx to kubernetes, version kubernetes v1.5.2, I deployed nginx with 3 replicas, the YAML file below,
apiVersion: extensions/v1beta1 kind: Deployment metadata: name: deployment-example spec: replicas: 3 revisionHistoryLimit: 2 template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.10 ports: - containerPort: 80
and now I want to set my port 80 to port 30062 node, for which I created the service below,
kind: Service apiVersion: v1 metadata: name: nginx-ils-service spec: ports: - name: http port: 80 nodePort: 30062 selector: app: nginx type: LoadBalancer
this service works well, as it should be, but it shows as waiting not only on the dashboard of the tunnels but also on the terminal.

please help me solve this problem. Thanks...
docker virtualization nginx kubernetes load-balancing
Pankaj jackson
source share