<p>I created a deployment using kubernetes Deployment in openshift cluster. i expected it to create the service for all the container ports like openshift DeploymentConfig does.
but i did not find any service created by the kubernetes Deployment.</p>
<p>does kubernetes Deployment not create the service automatically like openshift DeploymentConfig does ?</p>
<p>My openshift version is 3.11</p>

<p>Both <strong>Deployment</strong> and <strong>DeploymentConfig</strong> does not create the <strong>Service</strong> component in OpenShift. These component are used for creation of Replication Control of the Pod.</p>
<p>Service has to be configured separately with the <strong>selector</strong> parameter to point to the specific Pods.</p>
<p>selector:
name: as in the deployment or in deploymentConfig.</p>
<p>This link would help you on the same.</p>
<p><a href="https://docs.openshift.com/container-platform/3.3/dev_guide/deployments/how_deployments_work.html#creating-a-deployment-configuration" rel="nofollow noreferrer">https://docs.openshift.com/container-platform/3.3/dev_guide/deployments/how_deployments_work.html#creating-a-deployment-configuration</a></p>
