<p dir="auto">Hi,</p>
<p dir="auto">Since yesterday I am facing problem with creation new deployments and pods assigned to those deployments. Due to some reason RC creates a lot of pods and right after terminates them. My pod require to have volume attached in AWS so I assume that is not possible to attach/detach volume more than several times within one minute.</p>
<p dir="auto">Output from get pods command:<br>
xxx-20150918-15-852712-3444524503-0b7z6   0/5       Terminating         0          38s<br>
xxx-20150918-15-852712-3444524503-1jb57   4/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-1r94w   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-4kvwz   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-5aua3   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-7ae6n   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-feay6   0/5       Terminating         0          40s<br>
xxx-20150918-15-852712-3444524503-g8opf   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-i9msv   0/5       ContainerCreating   0          37s<br>
xxx-20150918-15-852712-3444524503-j1zjo   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-kbkm5   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-n70tx   0/5       Terminating         0          39s<br>
xxx-20150918-15-852712-3444524503-ntmmz   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-nyuwp   0/5       Terminating         0          39s<br>
xxx-20150918-15-852712-3444524503-po9kn   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-somw3   0/5       Terminating         0          1m<br>
xxx-20150918-15-852712-3444524503-wpd4t   0/5       Terminating         0          38s<br>
xxx-20150918-15-852712-3444524503-x2yip   0/5       Terminating         0          1m</p>
<p dir="auto">When i execute describe pod method for any of those pods I have only mentioned that pod has been successfully assigned to the node.</p>
<p dir="auto">My versions:<br>
Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4+coreos.0", GitCommit:"be9bf3e842a90537e48361aded2872e389e902e7", GitTreeState:"clean", BuildDate:"2016-08-02T00:54:53Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto">Thanks for help in advance,<br>
Adam</p>
<p dir="auto">In the document, <code class="notranslate">expose</code> should take rc and service as input. I tried <code class="notranslate">kubectl expose po nginx --port=80 --target-port=8080</code> and <code class="notranslate">kubectl expose -f pod-nginx.yaml ...</code>, they all worked (when pod has labels).</p>
<p dir="auto">Another thing is, in <code class="notranslate">expose</code> command, service name is duplicated from input resource name(when <code class="notranslate">--name</code> is not specified), if service with same name already exsits, it will return an error. Can we give the service a unique name as rc does to the pods it manages.</p>
<p dir="auto">@kubernetes/kubectl <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/feihujiang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/feihujiang">@feihujiang</a></p>