Skip to content

Time Zone#

Timing → TZTime Zones

A TimeZone determines the time zone that a router applies to timestamps when sending information to external systems, most notably when writing or sending log messages.

More than 400 IANA time zones are supported and grouped into nine regions. Region and place values follow IANA time zone names:

  • America
  • Europe
  • Asia
  • Australia
  • Indian
  • Africa
  • Pacific
  • Antarctica
  • Atlantic
  • Arctic

Alternatively, a TimeZone resource can configure routers to use UTC by setting useUTC to true.

Selecting a time zone#

Due to the large number of places available, and to ensure a user-friendly UI experience, the region property must be set along with the respective <region-name>Place property.

Dependencies#

The TimeZone resource has no dependencies on other resources.

Referenced resources#

TopoNode#

The TimeZone is a global configuration setting for a node. The nodes where the TimeZone is deployed can be specified through the nodes property or by using labels in the nodeSelectors property.

Prefer deployment using labels over explicit configuration wherever possible.

Examples#

apiVersion: timing.eda.nokia.com/v1
kind: TimeZone
metadata:
  name: my-test-timezone
  namespace: eda
spec:
  useUTC: false
  nodeSelectors:
    - eda.nokia.com/security-profile = managed
  region: America
  americaPlace: Los_Angeles
cat << 'EOF' | kubectl apply -f -
apiVersion: timing.eda.nokia.com/v1
kind: TimeZone
metadata:
  name: my-test-timezone
  namespace: eda
spec:
  useUTC: false
  nodeSelectors:
    - eda.nokia.com/security-profile = managed
  region: America
  americaPlace: Los_Angeles
EOF

Custom Resource Definition#

To browse the Custom Resource Definition go to crd.eda.dev.

TimeZone

timing.eda.nokia.com / v1

SPEC

TimeZoneSpec defines the desired state of TimeZone

  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #

STATUS

TimezoneStatus defines the observed state of TimeZone