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#
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
TimeZone
SPEC
TimeZoneSpec defines the desired state of TimeZone
-
Place in the Africa region.
enum: "Abidjan", "Accra", "Addis_Ababa", +48 more -
Place in the America region.
enum: "Adak", "Anchorage", "Anguilla", +155 more -
Place in the Antarctica region.
enum: "Casey", "Davis", "DumontDUrville", +7 more -
Place in the Arctic ocean region.
enum: "Longyearbyen" -
Place in the Asia region.
enum: "Aden", "Almaty", "Amman", +81 more -
Place in the Atlantic ocean region.
enum: "Azores", "Bermuda", "Canary", +8 more -
Place in the Australia region.
enum: "Adelaide", "Brisbane", "Broken_Hill", +11 more -
Place in the Europe region.
enum: "Amsterdam", "Andorra", "Astrakhan", +61 more -
Place in the Indian ocean region.
enum: "Antananarivo", "Chagos", "Christmas", +8 more -
Label selector for nodes on which to configure the TimeZone.
-
Nodes on which to configure the TimeZone.
-
Place in the Pacific ocean region.
enum: "Auckland", "Bougainville", "Chuuk", +32 more -
Geographical region of the time zone.
enum: "America", "Europe", "Asia", +7 more -
Whether to use UTC as the time zone, instead of selecting a region.
default: false
STATUS
TimezoneStatus defines the observed state of TimeZone