<p>I'm wondering if there is a proper naming convention for generated pod names in Kubernetes. By generated pod names I mean the name displayed in both <code>kubectl get pods</code> or, for instance, by querying the heapster api:</p>

<pre><code>$ curl -s http://192.168.99.100:32416/api/v1/model/namespaces/kube-system/pods
[
"kube-addon-manager-minikube",
"kube-dns-v20-8gsbl",
"kubernetes-dashboard-tp9kc",
"heapster-kj8hh",
"influxdb-grafana-stg3s"
]

$ curl -s http://192.168.99.100:32416/api/v1/model/namespaces/default/pods
[
"my-nginx-2723453542-065rx"
]
</code></pre>

<p>If there is no convention (as it looks like) are there any scenario(s) in which the common format: <code>pod name</code> + <code>5 alpha-numeric chars</code> is true?</p>

<p>if you use deployment then the naming convention as follows:</p>

<p>|--- Deployment: &lt; name ><br>
│<code>-----</code>└─ Replica Set: &lt; name >-&lt; rs ><br>
│<code>--------</code>└─ Pod: &lt; name >-&lt; rs>-&lt; RandomString ></p>
