Time difference with dotNET core on Kubernetes

4/16/2020

I'm banging my head on the walls with this one so I am hoping somebody here can help me.

I've developed a rather simple application in dotNET core 3.1. It's purpose is to query some things from the database, do something with it and then write the date and time back to the database.

When I run this on my development machine, everything works as expected, but as soon as I publish this app on the Kubernetes platform, the date and time shifts back two hours (I'm in GMT + 2)

At first I thought that the time was off on the Kubernetes nodes, but I checked it and it was ok.

Can somebody direct me in the right direction on how to resolve this?

Thanks in advance

-- Mekroebo
.net-core
kubernetes

0 Answers