title: Can I have a single service created to expose as both cluster IP and NodePort?
body: <p>I have 2 pods running on minikube. Pod A has to <code>expose 2 ports</code> 8081 and 9092 to both Pod B <code>inside the k8 cluster</code> and also <code>outside k8 cluster</code> so that pod B can reach them and also outside the cluster my consumer can reach them.So my question is <code>should</code> I have <code>2 services</code> created for each port?
  One to expose as cluster ip and one for node port? Or is there a way to have a single service created to expose this as both cluster IP and NodePort?</p>
  
  <p>Also if I have to expose my node port as a particular port, would specifying <code>nodePort</code> mess up with the cluster ip? </p>