title: why docker containers in kuberntes Exit and restart every few Minutes
body: <p>I just installed Kubernetes and configure Master and Node, the basic things is okay. </p>
  
  <p>I can deploy deployments, pods, services, But, there is an issue.</p>
  
  <p>1 - After few Minutes Docker Containers Exit and restart, So I can not access this deployments from External </p>
  
  <p>2 - Master Does not assign Node IP to Services.</p>
  
  <p>I do not what codes should I share here.</p>
  
  <p>this is Sample Log of pod :</p>
  
  <pre><code>Name:           hostnames-64fbcd9c87-6khf4
  Namespace:      default
  Node:           164.132.1.86/164.132.1.86
  Start Time:     Mon, 27 Aug 2018 15:41:59 -0400
  Labels:         app=hostnames
                  pod-template-hash=2096785743
  Annotations:    &lt;none&gt;
  Status:         Running
  IP:             172.30.53.7
  Controlled By:  ReplicaSet/hostnames-64fbcd9c87
  Containers:
  hostnames:
  Container ID:   docker://074ae800f3bbb81d31753b5eabc9c723bf2f49614fec884586ee3f7714664750
  Image:          k8s.gcr.io/serve_hostname
  Image ID:       docker-pullable://k8s.gcr.io/serve_hostname@sha256:07ab315083303397079209c526f6ed02f731d2fa7ffa0ad5c40b49410b105fee
  Port:           9376/TCP
  Host Port:      0/TCP
  State:          Running
    Started:      Mon, 27 Aug 2018 15:42:04 -0400
  Ready:          True
  Restart Count:  0
  Environment:    &lt;none&gt;
  Mounts:         &lt;none&gt;
  Conditions:
  Type           Status
  Initialized    True 
  Ready          True 
  PodScheduled   True 
  Volumes:         &lt;none&gt;
  QoS Class:       BestEffort
  Node-Selectors:  &lt;none&gt;
  Tolerations:     &lt;none&gt;
  Events:          &lt;none&gt;
  Type    Reason     Age   From                   Message
  ----    ------     ----  ----                   -------
  Normal  Scheduled  9m    default-scheduler      Successfully assigned 
  hostnames-64fbcd9c87-6khf4 to 164.132.1.86
  Normal  Pulling    9m    kubelet, 164.132.1.86  pulling image 
  "k8s.gcr.io/serve_hostname"
  Normal  Pulled     9m    kubelet, 164.132.1.86  Successfully pulled 
  image "k8s.gcr.io/serve_hostname"
  Normal  Created    9m    kubelet, 164.132.1.86  Created container
  Normal  Started    9m    kubelet, 164.132.1.86  Started container
  </code></pre>
  
  <p>I need help.</p>