1
0
Fork 0
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:
Nikita Vaniasin 2022-07-31 13:03:27 +03:00 committed by GitHub
parent 5166c58bc7
commit 70d41fd010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View file

@ -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

View file

@ -12,3 +12,4 @@
- [Maintenance](./maintenance.md)
- [Additional configuration](./additional_configuration.md)
- [Topology awareness](./topology_awareness.md)
- [Configuring timezone](./configuring_tz.md)

View 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.