I am having issue with date and time in kubernetes cluster. My host time is sync using the ntp. Though i have synced it after configuring the cluster. Now all the pods created within my cluster will have wrong timezone. I found the issue is with the docker itself. As I am using CentOS 7 VMs which are over EXSi, it seems docker containers are taking UTC timezone from the exsi host rather then the centos i guess? Is there a way to fix this issue where new pods spawned will take the CentOS timezone rather then the EXSi host timezone? I could have use TZ env but for some docker base image like alpine, tzdate packages seems to be needed. So i don't want to rebuild the docker for some application which i can get prebuild out of the box like fluentd and such. Is there a way to fix it?
Thank You