<p>I have a Replication Controller whose size is more than one, and I'd like to embed the application monitoring profiler in only a pod in the replication controller. So I want the index or something to determine the pod is chosen only one. Especially in the GKE environment, is there such information?</p>

<p>You will be interested in the parametrized set/templating proposal that will allow you to define indices  <a href="https://github.com/kubernetes/kubernetes/blob/release-1.2/docs/proposals/templates.md" rel="nofollow">https://github.com/kubernetes/kubernetes/blob/release-1.2/docs/proposals/templates.md</a>. This will most likely be included in 1.3. </p>
