kubelet: ensure pod UIDs are unique
kubelet: ensure pod UIDs are unique

Ensure node name and file path are included in the hash which produces
the pod UID, otherwise all pods created from the same manifest have
the same UID across the cluster.

The real author of this code is Yu-Ju Hong <yjhong@google.com>.
I am resurrecting an abandoned PR, and changed the git author to pass
CLA check.

Signed-off-by: Bryan Boreham <de652539b24efdf404b95def4635bf3dbfd846aa@gmail.com>

ingvagabund/kubernetes,joelsmith/kubernetes,cofyc/kubernetes,Acidburn0zzz/kubernetes,GulajavaMinistudio/kubernetes,csrwng/kubernetes,enj/kubernetes,coolsvap/kubernetes,rafax/kubernetes,mikebrow/kubernetes,ii/kubernetes,dereknex/kubernetes,rrati/kubernetes,enj/kubernetes,li-ang/kubernetes,tpepper/kubernetes,feiskyer/kubernetes,mikedanese/kubernetes,andrewrynhard/kubernetes,BenTheElder/kubernetes,krmayankk/kubernetes,kevin-wangzefeng/kubernetes,mYmNeo/kubernetes,hex108/kubernetes,thockin/kubernetes,jingxu97/kubernetes,cblecker/kubernetes,xychu/kubernetes,k82/kubernetes,kubernetes/kubernetes,alejandroEsc/kubernetes,ping035627/kubernetes,krmayankk/kubernetes,liggitt/kubernetes,roberthbailey/kubernetes,alejandroEsc/kubernetes,yujuhong/kubernetes,jsafrane/kubernetes,matthyx/kubernetes,sdminonne/kubernetes,tengqm/kubernetes,rafax/kubernetes,dereknex/kubernetes,warmchang/kubernetes,tpepper/kubernetes,dereknex/kubernetes,jingxu97/kubernetes,jessfraz/kubernetes,gnufied/kubernetes,jdef/kubernetes,linux-on-ibm-z/kubernetes,mYmNeo/kubernetes,jingxu97/kubernetes,cofyc/kubernetes,jingxu97/kubernetes,hex108/kubernetes,PiotrProkop/kubernetes,chrislovecnm/kubernetes,MikeSpreitzer/kubernetes,BenTheElder/kubernetes,iterion/kubernetes,mYmNeo/kubernetes,cmluciano/kubernetes,li-ang/kubernetes,jsafrane/kubernetes,rnaveiras/kubernetes,bparees/kubernetes,openshift/kubernetes,jackfrancis/kubernetes,verult/kubernetes,dims/kubernetes,nikhita/kubernetes,zhouhaibing089/kubernetes,zhouhaibing089/kubernetes,JacobTanenbaum/kubernetes,wongma7/kubernetes,ping035627/kubernetes,iameli/kubernetes,iterion/kubernetes,cofyc/kubernetes,spzala/kubernetes,alejandroEsc/kubernetes,coolsvap/kubernetes,thockin/kubernetes,idvoretskyi/kubernetes,kpgriffith/kubernetes,dims/kubernetes,sdminonne/kubernetes,cmluciano/kubernetes,warmchang/kubernetes,xlgao-zju/kubernetes,fgimenez/kubernetes,humblec/kubernetes,saad-ali/kubernetes,lojies/kubernetes,lojies/kubernetes,wongma7/kubernetes,fgimenez/kubernetes,iterion/kubernetes,fgimenez/kubernetes,olivierlemasle/kubernetes,carlory/kubernetes,shyamjvs/kubernetes,soltysh/kubernetes,mikedanese/kubernetes,brendandburns/kubernetes,weiwei04/kubernetes,coolsvap/kubernetes,li-ang/kubernetes,xlgao-zju/kubernetes,jdef/kubernetes,deads2k/kubernetes,monopole/kubernetes,micahhausler/kubernetes,nak3/kubernetes,mikebrow/kubernetes,mosoft521/kubernetes,dereknex/kubernetes,ravilr/kubernetes,cmluciano/kubernetes,jsafrane/kubernetes,weiwei04/kubernetes,mfojtik/kubernetes,mengqiy/kubernetes,aledbf/kubernetes,carlory/kubernetes,liggitt/kubernetes,mkumatag/kubernetes,lojies/kubernetes,dixudx/kubernetes,gnufied/kubernetes,csrwng/kubernetes,tengqm/kubernetes,mfojtik/kubernetes,andrewrynhard/kubernetes,openshift/kubernetes,stevesloka/kubernetes,humblec/kubernetes,monopole/kubernetes,mosoft521/kubernetes,kitt1987/kubernetes,k82/kubernetes,nikhita/kubernetes,deads2k/kubernetes,fabriziopandini/kubernetes,verult/kubernetes,nckturner/kubernetes,liggitt/kubernetes,iterion/kubernetes,mikedanese/kubernetes,tpepper/kubernetes,GulajavaMinistudio/kubernetes,ping035627/kubernetes,nckturner/kubernetes,olivierlemasle/kubernetes,x13n/kubernetes,kevin-wangzefeng/kubernetes,joelsmith/kubernetes,iterion/kubernetes,MikeSpreitzer/kubernetes,cmluciano/kubernetes,sanjeevm0/kubernetes,stevesloka/kubernetes,k82/kubernetes,fanzhangio/kubernetes,fabriziopandini/kubernetes,yujuhong/kubernetes,pires/kubernetes,dlorenc/kubernetes,bparees/kubernetes,linux-on-ibm-z/kubernetes,wongma7/kubernetes,hex108/kubernetes,brendandburns/kubernetes,rrati/kubernetes,Clarifai/kubernetes,stevesloka/kubernetes,csrwng/kubernetes,PiotrProkop/kubernetes,tengqm/kubernetes,dixudx/kubernetes,brendandburns/kubernetes,xlgao-zju/kubernetes,kpgriffith/kubernetes,aledbf/kubernetes,coolsvap/kubernetes,aledbf/kubernetes,rnaveiras/kubernetes,verb/kubernetes,openshift/kubernetes,nak3/kubernetes,chrislovecnm/kubernetes,roberthbailey/kubernetes,andrewrynhard/kubernetes,humblec/kubernetes,kpgriffith/kubernetes,lojies/kubernetes,jackfrancis/kubernetes,cofyc/kubernetes,k82cn/kubernetes,bparees/kubernetes,GulajavaMinistudio/kubernetes,zhangmingld/kubernetes,liggitt/kubernetes,jagosan/kubernetes,ingvagabund/kubernetes,ii/kubernetes,Acidburn0zzz/kubernetes,nckturner/kubernetes,ii/kubernetes,yujuhong/kubernetes,thockin/kubernetes,weiwei04/kubernetes,BenTheElder/kubernetes,jackfrancis/kubernetes,mahak/kubernetes,nikhita/kubernetes,joelsmith/kubernetes,sanjeevm0/kubernetes,aledbf/kubernetes,mkumatag/kubernetes,JacobTanenbaum/kubernetes,thockin/kubernetes,tpepper/kubernetes,brendandburns/kubernetes,ingvagabund/kubernetes,jessfraz/kubernetes,warmchang/kubernetes,liggitt/kubernetes,zhangmingld/kubernetes,fanzhangio/kubernetes,li-ang/kubernetes,jsafrane/kubernetes,cblecker/kubernetes,thockin/kubernetes,sdminonne/kubernetes,andrewrynhard/kubernetes,jagosan/kubernetes,zhouhaibing089/kubernetes,cblecker/kubernetes,pires/kubernetes,zhouhaibing089/kubernetes,hex108/kubernetes,mkumatag/kubernetes,dims/kubernetes,nckturner/kubernetes,nak3/kubernetes,sanjeevm0/kubernetes,krmayankk/kubernetes,kpgriffith/kubernetes,idvoretskyi/kubernetes,PI-Victor/kubernetes,enj/kubernetes,mYmNeo/kubernetes,sdminonne/kubernetes,dereknex/kubernetes,ingvagabund/kubernetes,rnaveiras/kubernetes,deads2k/kubernetes,idvoretskyi/kubernetes,roberthbailey/kubernetes,micahhausler/kubernetes,monopole/kubernetes,micahhausler/kubernetes,jessfraz/kubernetes,fanzhangio/kubernetes,chestack/kubernetes,k82cn/kubernetes,sanjeevm0/kubernetes,cblecker/kubernetes,JacobTanenbaum/kubernetes,xychu/kubernetes,rnaveiras/kubernetes,micahhausler/kubernetes,ii/kubernetes,MikeSpreitzer/kubernetes,jagosan/kubernetes,rrati/kubernetes,PI-Victor/kubernetes,kevin-wangzefeng/kubernetes,feiskyer/kubernetes,gnufied/kubernetes,xychu/kubernetes,fgimenez/kubernetes,weiwei04/kubernetes,GulajavaMinistudio/kubernetes,PI-Victor/kubernetes,nak3/kubernetes,zhangmingld/kubernetes,kitt1987/kubernetes,rnaveiras/kubernetes,joelsmith/kubernetes,mahak/kubernetes,spzala/kubernetes,brendandburns/kubernetes,matthyx/kubernetes,PiotrProkop/kubernetes,kubernetes/kubernetes,gnufied/kubernetes,andrewrynhard/kubernetes,chestack/kubernetes,jackfrancis/kubernetes,andrewrynhard/kubernetes,Clarifai/kubernetes,verb/kubernetes,bparees/kubernetes,PiotrProkop/kubernetes,chrislovecnm/kubernetes,verult/kubernetes,coolsvap/kubernetes,zhouhaibing089/kubernetes,feiskyer/kubernetes,k82cn/kubernetes,mYmNeo/kubernetes,ingvagabund/kubernetes,mikedanese/kubernetes,fanzhangio/kubernetes,soltysh/kubernetes,cofyc/kubernetes,dereknex/kubernetes,hex108/kubernetes,ravilr/kubernetes,alejandroEsc/kubernetes,bparees/kubernetes,jdef/kubernetes,rrati/kubernetes,iterion/kubernetes,x13n/kubernetes,ii/kubernetes,mikebrow/kubernetes,weiwei04/kubernetes,xlgao-zju/kubernetes,kevin-wangzefeng/kubernetes,verult/kubernetes,nak3/kubernetes,pires/kubernetes,x13n/kubernetes,JacobTanenbaum/kubernetes,carlory/kubernetes,matthyx/kubernetes,shyamjvs/kubernetes,x13n/kubernetes,tpepper/kubernetes,dlorenc/kubernetes,mosoft521/kubernetes,soltysh/kubernetes,warmchang/kubernetes,jingxu97/kubernetes,kubernetes/kubernetes,roberthbailey/kubernetes,joelsmith/kubernetes,mosoft521/kubernetes,kpgriffith/kubernetes,li-ang/kubernetes,wongma7/kubernetes,mkumatag/kubernetes,ravilr/kubernetes,openshift/kubernetes,fabriziopandini/kubernetes,chrislovecnm/kubernetes,kitt1987/kubernetes,feiskyer/kubernetes,verult/kubernetes,xychu/kubernetes,nikhita/kubernetes,ravilr/kubernetes,PI-Victor/kubernetes,ingvagabund/kubernetes,joelsmith/kubernetes,spzala/kubernetes,humblec/kubernetes,jdef/kubernetes,monopole/kubernetes,mkumatag/kubernetes,tengqm/kubernetes,pires/kubernetes,Clarifai/kubernetes,Clarifai/kubernetes,chestack/kubernetes,fgimenez/kubernetes,chrislovecnm/kubernetes,jsafrane/kubernetes,chrislovecnm/kubernetes,Clarifai/kubernetes,iameli/kubernetes,cmluciano/kubernetes,dims/kubernetes,shyamjvs/kubernetes,chestack/kubernetes,saad-ali/kubernetes,PiotrProkop/kubernetes,jdef/kubernetes,brendandburns/kubernetes,deads2k/kubernetes,dixudx/kubernetes,kpgriffith/kubernetes,saad-ali/kubernetes,rafax/kubernetes,alejandroEsc/kubernetes,sanjeevm0/kubernetes,kitt1987/kubernetes,cmluciano/kubernetes,nak3/kubernetes,matthyx/kubernetes,soltysh/kubernetes,linux-on-ibm-z/kubernetes,enj/kubernetes,fabriziopandini/kubernetes,openshift/kubernetes,mengqiy/kubernetes,rafax/kubernetes,zhangmingld/kubernetes,ping035627/kubernetes,shyamjvs/kubernetes,carlory/kubernetes,jdef/kubernetes,jackfrancis/kubernetes,dixudx/kubernetes,deads2k/kubernetes,JacobTanenbaum/kubernetes,yujuhong/kubernetes,k82cn/kubernetes,verb/kubernetes,olivierlemasle/kubernetes,mYmNeo/kubernetes,dlorenc/kubernetes,roberthbailey/kubernetes,iameli/kubernetes,Clarifai/kubernetes,csrwng/kubernetes,Acidburn0zzz/kubernetes,krmayankk/kubernetes,xlgao-zju/kubernetes,pires/kubernetes,jessfraz/kubernetes,saad-ali/kubernetes,linux-on-ibm-z/kubernetes,soltysh/kubernetes,warmchang/kubernetes,mosoft521/kubernetes,mfojtik/kubernetes,spzala/kubernetes,mfojtik/kubernetes,PI-Victor/kubernetes,chestack/kubernetes,MikeSpreitzer/kubernetes,stevesloka/kubernetes,BenTheElder/kubernetes,dixudx/kubernetes,sanjeevm0/kubernetes,BenTheElder/kubernetes,sdminonne/kubernetes,yujuhong/kubernetes,csrwng/kubernetes,mahak/kubernetes,saad-ali/kubernetes,tpepper/kubernetes,spzala/kubernetes,rrati/kubernetes,iameli/kubernetes,mahak/kubernetes,enj/kubernetes,jessfraz/kubernetes,weiwei04/kubernetes,kitt1987/kubernetes,carlory/kubernetes,mengqiy/kubernetes,mahak/kubernetes,yujuhong/kubernetes,coolsvap/kubernetes,ravilr/kubernetes,kevin-wangzefeng/kubernetes,hex108/kubernetes,shyamjvs/kubernetes,kubernetes/kubernetes,linux-on-ibm-z/kubernetes,micahhausler/kubernetes,cofyc/kubernetes,olivierlemasle/kubernetes,ping035627/kubernetes,iameli/kubernetes,olivierlemasle/kubernetes,dlorenc/kubernetes,mengqiy/kubernetes,kubernetes/kubernetes,gnufied/kubernetes,kitt1987/kubernetes,tengqm/kubernetes,nckturner/kubernetes,mikebrow/kubernetes,xychu/kubernetes,stevesloka/kubernetes,k82cn/kubernetes,matthyx/kubernetes,mikebrow/kubernetes,verb/kubernetes,fabriziopandini/kubernetes,JacobTanenbaum/kubernetes,mfojtik/kubernetes,mikedanese/kubernetes,MikeSpreitzer/kubernetes,verb/kubernetes,stevesloka/kubernetes,PI-Victor/kubernetes,krmayankk/kubernetes,monopole/kubernetes,x13n/kubernetes,jagosan/kubernetes,fanzhangio/kubernetes,verult/kubernetes,pires/kubernetes,feiskyer/kubernetes,fgimenez/kubernetes,dims/kubernetes,cblecker/kubernetes,dlorenc/kubernetes,mfojtik/kubernetes,xychu/kubernetes,dlorenc/kubernetes,zhangmingld/kubernetes,fanzhangio/kubernetes,lojies/kubernetes,saad-ali/kubernetes,aledbf/kubernetes,k82/kubernetes,k82/kubernetes,Acidburn0zzz/kubernetes,GulajavaMinistudio/kubernetes,Acidburn0zzz/kubernetes,mengqiy/kubernetes,idvoretskyi/kubernetes,xlgao-zju/kubernetes,idvoretskyi/kubernetes,idvoretskyi/kubernetes,jagosan/kubernetes,x13n/kubernetes,krmayankk/kubernetes,nikhita/kubernetes,wongma7/kubernetes,humblec/kubernetes,Acidburn0zzz/kubernetes,zhangmingld/kubernetes