<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>Pods started by a replication controller are all treated identically; they don't have any sort of ordinality. </p>

<p>If you want to start a group of identical pods and enable an extra feature in just one of them, you should consider using a master election scheme and having just the elected master run the monitoring profiler. </p>
