<p>Is it possible to avoid those hashes in pod name?</p>
<pre><code>&gt;  kubectl get pods
NAME                                              READY   STATUS      RESTARTS   AGE
nginx-ingress-nginx-controller-599c688b77-nbvds   1/1     Running     0          11d
pgadmin-756f5949ff-mbkk9                          1/1     Running     0          11d
postgres-postgresql-0                             1/1     Running     0          11d
redis-master-5d9cfb54f8-8pbgq                     1/1     Running     43         4d
</code></pre>

Alexander Paul Wansiedler
<p>According to your requirement Statefulset can fulfil your needs. Using deployment this is not possible. Statefulset assigns name to pods in an incremental fashion like pgadmin-0,pgadmin-1 and so on. I would highly recommend check this docs section as statefulset comes up with very cool feature like rolling out pods in sequential manner and delete them also in one pod one at a time etc.</p>
<p><a href="https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/</a></p>
