Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,3 @@ jobs:
uses: azure/[email protected]
with:
version: v3.12.1
- uses: actions/setup-python@v5
with:
python-version: '3.10'
check-latest: true
- name: Lint chart
run: helm lint --strict helm/trino-gateway
- name: Create kind cluster
uses: helm/[email protected]
with:
cluster_name: tgw
- name: load images
run: kind load docker-image --name tgw trino-gateway:$(cat ./trino-gateway-version.txt | tr -d '\n')-amd64
- name: Run chart-testing (install)
run: helm install test helm/trino-gateway --set "image.repository=trino-gateway" --set "image.tag=$(cat ./trino-gateway-version.txt | tr -d '\n')-amd64" --set "limits.memory=100Mi" --set "limits.cpu=0"
- name: wait for deployment
#the deployment name is the name of the installation from the helm install command above, concatenated with the name from Chart.yaml
run: kubectl rollout status deployment test-trino-gateway
timeout-minutes: 2
15 changes: 13 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,16 @@ java -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80 \
### Helm <a name="helm"></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is linked from docker.md - perhaps it should just link directly to the chart repo - wdyt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No .. I want to keep this since I want to actually get this onto a separate page and much improved.. so for now .. lets leave as is


Helm manages the deployment of Kubernetes applications by templating Kubernetes
resources with a set of Helm charts. The Trino Gateway Helm chart consists
of the following components:
resources with a set of Helm charts. The Trino Gateway Helm chart is
available in the [Trino Helm chart project](https://github.com/trinodb/charts).

Configure the charts repository as a Helm chart repository with the
following command:

```shell
helm repo add trino https://trinodb.github.io/charts/
```
The Trino Gateway chart consists of the following components:

* A `config` node for general configuration
* `dataStoreSecret`, `backendStateSecret` and `authenticationSecret` for
Expand Down Expand Up @@ -305,6 +313,9 @@ Standard Helm options such as `replicaCount`, `image`, `imagePullSecrets`,
`service`, `ingress` and `resources` are supported. These are defined in
`helm/values.yaml`.

More detail about the chart are available in the [values
reference documentation](https://github.com/trinodb/charts/blob/main/charts/gateway/README.md)

### Health Checks

Trino Gateway checks the health of each backend and **deactivates it if
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Artifacts:
* Source code as
[tar.gz](https://github.com/trinodb/trino-gateway/archive/refs/tags/12.tar.gz)
or [zip](https://github.com/trinodb/trino-gateway/archive/refs/tags/12.zip)
* Helm chart `12.0.0` in `helm/trino-gateway` of the tagged source code
* Helm chart `0.12.0` in [the charts repository](https://github.com/trinodb/charts)

Changes:

Expand Down
23 changes: 0 additions & 23 deletions helm/trino-gateway/.helmignore

This file was deleted.

8 changes: 0 additions & 8 deletions helm/trino-gateway/Chart.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions helm/trino-gateway/templates/NOTES.txt

This file was deleted.

65 changes: 0 additions & 65 deletions helm/trino-gateway/templates/_helpers.tpl

This file was deleted.

96 changes: 0 additions & 96 deletions helm/trino-gateway/templates/deployment.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions helm/trino-gateway/templates/hpa.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions helm/trino-gateway/templates/ingress.yaml

This file was deleted.

Loading