I am trying to deploy nginx on kubernetes, kubernetes version is v1.5.2, I have deployed nginx with 3 replica, YAML file is below,
- name: nginx
- containerPort: 80
and now I want to expose its port 80 on port 30062 of node, for that I created a service below,
- name: http
this service is working good as it should be, but it is showing as pending not only on kubernetes dashboard also on terminal.