mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Documentation] Add docs on setting timezone for containers (#1072)
This commit is contained in:
parent
5166c58bc7
commit
70d41fd010
3 changed files with 20 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
- (Feature) Use only connections for healthy members
|
||||
- (Feature) Set condition to shrink agent volume size
|
||||
- (Bugfix) Check serving servers
|
||||
- (Documentation) Add docs on setting timezone for containers
|
||||
|
||||
## [1.2.15](https://github.com/arangodb/kube-arangodb/tree/1.2.15) (2022-07-20)
|
||||
- (Bugfix) Ensure pod names not too long
|
||||
|
|
|
@ -12,3 +12,4 @@
|
|||
- [Maintenance](./maintenance.md)
|
||||
- [Additional configuration](./additional_configuration.md)
|
||||
- [Topology awareness](./topology_awareness.md)
|
||||
- [Configuring timezone](./configuring_tz.md)
|
||||
|
|
18
docs/design/configuring_tz.md
Normal file
18
docs/design/configuring_tz.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Configuring timezone
|
||||
|
||||
To set timezone for cluster components, mount the required timezone into container
|
||||
by adjusting `spec.<group>` of ArangoDeployment resource:
|
||||
```yaml
|
||||
dbservers:
|
||||
volumeMounts:
|
||||
- mountPath: /etc/localtime
|
||||
name: timezone
|
||||
volumes:
|
||||
- hostPath:
|
||||
path: /usr/share/zoneinfo/Europe/Warsaw
|
||||
type: File
|
||||
name: timezone
|
||||
```
|
||||
|
||||
If `/usr/share/zoneinfo` is not present on your host your probably have to install `tzdata` package.
|
||||
|
Loading…
Reference in a new issue