Please note that k3OS is deprecated. We recommend switching to flatcar instead.
If you're experiencing issues with timestamps in messages or other time-related problems in your edge devices, it may be due to incorrect time settings. Here's how you can fix it.
- Execute the
datecommand in the terminal to understand the current time.
sudo ntpd -w -d -p pool.ntp.orgto get the offset from the timeserver and to check whether the timeserver is working. The offset is the difference between the local time and the NTP server time.
- If there is an offset, check whether there are NTP servers set in the
/etc/connman/main.conffile. If not, add them.
- If NTP is not the issue, it could be caused by a backlog in the system, especially when using an older version with the MQTT bridge. In newer versions, you can check the lag of Kafka with Kowl and then go to consumer groups.