I believe you can also update / create an annotation inside the pod spec's metadata section if you fear that an environment variable might collide or just pollute your application's env var space.
More discussions, tips, and related issues regarding the subject of forced restarts can be found in https://github.com/kubernetes/kubernetes/issues/27081. -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.