You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ All notable changes to this project will be documented in this file.
6
6
7
7
### Added
8
8
9
-
- Support activating and deactivation Trino clusters via API calls to `/admin/activate-cluster/{cluster_name}` and `/admin/deactivate-cluster/{cluster_name}` respectively. For this to work you need to authenticate yourself at trino-lb via basic auth ([#95]).
10
-
- Expose cluster statistics at `/admin/cluster-status` ([#95]).
9
+
- Support activating and deactivation Trino clusters via API calls to `/admin/clusters/{cluster_name}/activate` and `/admin/clusters/{cluster_name}/deactivate` respectively. For this to work you need to authenticate yourself at trino-lb via basic auth ([#95]).
10
+
- Expose cluster statistics at `/admin/clusters/{cluster_name}/status` and `/admin/clusters/status` ([#95]).
Copy file name to clipboardExpand all lines: docs/design.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,10 +88,10 @@ A deactivated cluster continues to process already running queries, but no new q
88
88
89
89
To safely update a running Trino cluster you can
90
90
91
-
1. Deactivate the Trino cluster using `POST /admin/deactivate-cluster/{cluster_name}`
92
-
2. Wait until all running queries have finished. Tip: You can use `GET /admin/cluster-status` to fetch the current query counter or talk to the Trino cluster directly.
91
+
1. Deactivate the Trino cluster using `POST /admin/clusters/{cluster_name}/deactivate`
92
+
2. Wait until all running queries have finished. Tip: You can use `GET /admin/clusters/{cluster_name}/status` (or `GET /admin/clusters/status`) to fetch the current query counter or talk to the Trino cluster directly.
93
93
3. Safely do modifications to the Trino cluster without any user impact
94
-
4. Once you are done with your changes re-activate the Trino cluster again using `POST /admin/activate-cluster/{cluster_name}`
94
+
4. Once you are done with your changes re-activate the Trino cluster again using `POST /admin/clusters/{cluster_name}/activate`
95
95
96
96
Important: To activate/deactivate a Trino cluster you need to authenticate against trino-lb.
97
97
Currently only Basic Auth is supported, you can configure the credentials like this:
0 commit comments