Skip to content

Commit c5a476e

Browse files
sdaberdakunineinchnick
authored andcommitted
Add annotations documentation for coordinator and worker Trino Pods
1 parent e43d7a0 commit c5a476e

File tree

2 files changed

+62
-2
lines changed

2 files changed

+62
-2
lines changed

charts/trino/README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,22 @@ Fast distributed SQL query engine for big data analytics that helps you explore
592592
- name: extras
593593
mountPath: /usr/share/extras
594594
readOnly: true
595-
* `coordinator.annotations` - object, default: `{}`
595+
* `coordinator.annotations` - object, default: `{}`
596+
597+
Annotations to add to the coordinator pod.
598+
By default, the following annotations are added to the coordinator pod:
599+
- `checksum/access-control-config` - checksum of the coordinator access control config file;
600+
- `checksum/catalog-config` - checksum of the catalog config file;
601+
- `checksum/coordinator-config` - checksum of the coordinator config file.
602+
This allows for automatic rolling updates on configuration changes. This behaviour can be disabled by manually
603+
setting these annotations to fixed constants in the `coordinator.annotations` section.
604+
Example:
605+
```yaml
606+
annotations:
607+
checksum/access-control-config: ""
608+
checksum/catalog-config: ""
609+
checksum/coordinator-config: ""
610+
```
596611
* `coordinator.labels` - object, default: `{}`
597612
* `coordinator.configMounts` - list, default: `[]`
598613

@@ -722,7 +737,22 @@ Fast distributed SQL query engine for big data analytics that helps you explore
722737
mountPath: /usr/share/extras
723738
readOnly: true
724739
```
725-
* `worker.annotations` - object, default: `{}`
740+
* `worker.annotations` - object, default: `{}`
741+
742+
Annotations to add to the worker pods.
743+
By default, the following annotations are added to the worker pods:
744+
- `checksum/access-control-config` - checksum of the worker access control config file;
745+
- `checksum/catalog-config` - checksum of the catalog config file;
746+
- `checksum/worker-config` - checksum of the worker config file.
747+
This allows for automatic rolling updates on configuration changes. This behaviour can be disabled by manually
748+
setting these annotations to fixed constants in the `worker.annotations` section.
749+
Example:
750+
```yaml
751+
annotations:
752+
checksum/access-control-config: ""
753+
checksum/catalog-config: ""
754+
checksum/worker-config: ""
755+
```
726756
* `worker.labels` - object, default: `{}`
727757
* `worker.configMounts` - list, default: `[]`
728758

charts/trino/values.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,21 @@ coordinator:
692692
# readOnly: true
693693

694694
annotations: {}
695+
# coordinator.annotations -- Annotations to add to the coordinator pod.
696+
# @raw
697+
# By default, the following annotations are added to the coordinator pod:
698+
# - `checksum/access-control-config` - checksum of the coordinator access control config file;
699+
# - `checksum/catalog-config` - checksum of the catalog config file;
700+
# - `checksum/coordinator-config` - checksum of the coordinator config file.
701+
# This allows for automatic rolling updates on configuration changes. This behaviour can be disabled by manually
702+
# setting these annotations to fixed constants in the `coordinator.annotations` section.
703+
# Example:
704+
# ```yaml
705+
# annotations:
706+
# checksum/access-control-config: ""
707+
# checksum/catalog-config: ""
708+
# checksum/coordinator-config: ""
709+
# ```
695710

696711
labels: {}
697712

@@ -877,6 +892,21 @@ worker:
877892
# ```
878893

879894
annotations: {}
895+
# worker.annotations -- Annotations to add to the worker pods.
896+
# @raw
897+
# By default, the following annotations are added to the worker pods:
898+
# - `checksum/access-control-config` - checksum of the worker access control config file;
899+
# - `checksum/catalog-config` - checksum of the catalog config file;
900+
# - `checksum/worker-config` - checksum of the worker config file.
901+
# This allows for automatic rolling updates on configuration changes. This behaviour can be disabled by manually
902+
# setting these annotations to fixed constants in the `worker.annotations` section.
903+
# Example:
904+
# ```yaml
905+
# annotations:
906+
# checksum/access-control-config: ""
907+
# checksum/catalog-config: ""
908+
# checksum/worker-config: ""
909+
# ```
880910

881911
labels: {}
882912

0 commit comments

Comments
 (0)