From 4b293fc2a937da64cee8c1cd257a3ce85e333884 Mon Sep 17 00:00:00 2001 From: YongGang Date: Wed, 10 Jul 2024 21:35:47 -0700 Subject: [PATCH] Docs: Fix k8s dynamic config URL (#16720) --- .../development/extensions-contrib/k8s-jobs.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/development/extensions-contrib/k8s-jobs.md b/docs/development/extensions-contrib/k8s-jobs.md index 082b87353499..913e40b93733 100644 --- a/docs/development/extensions-contrib/k8s-jobs.md +++ b/docs/development/extensions-contrib/k8s-jobs.md @@ -62,7 +62,7 @@ Returns a JSON object with the dynamic configuration properties. ##### URL -`GET` `/druid/indexer/v1/k8s/taskRunner/executionConfig` +`GET` `/druid/indexer/v1/k8s/taskrunner/executionconfig` ##### Responses @@ -85,14 +85,14 @@ Returns a JSON object with the dynamic configuration properties. ```shell -curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskRunner/executionConfig" +curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskrunner/executionconfig" ``` ```HTTP -GET /druid/indexer/v1/k8s/taskRunner/executionConfig HTTP/1.1 +GET /druid/indexer/v1/k8s/taskrunner/executionconfig HTTP/1.1 Host: http://ROUTER_IP:ROUTER_PORT ``` @@ -134,7 +134,7 @@ Updates the dynamic configuration for the Kubernetes Task Runner ##### URL -`POST` `/druid/indexer/v1/k8s/taskRunner/executionConfig` +`POST` `/druid/indexer/v1/k8s/taskrunner/executionconfig` ##### Header parameters @@ -169,7 +169,7 @@ The endpoint supports the following optional header parameters to populate the ` ```shell -curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskRunner/executionConfig" \ +curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskrunner/executionconfig" \ --header 'Content-Type: application/json' \ --data '{ "type": "default", @@ -199,7 +199,7 @@ curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskRunner/executionConf ```HTTP -POST /druid/indexer/v1/k8s/taskRunner/executionConfig HTTP/1.1 +POST /druid/indexer/v1/k8s/taskrunner/executionconfig HTTP/1.1 Host: http://ROUTER_IP:ROUTER_PORT Content-Type: application/json @@ -240,7 +240,7 @@ an empty array if there are no history records available. ##### URL -`GET` `/druid/indexer/v1/k8s/taskRunner/executionConfig/history` +`GET` `/druid/indexer/v1/k8s/taskrunner/executionconfig/history` ##### Query parameters @@ -276,7 +276,7 @@ The endpoint supports the following optional query parameters to filter results. ```shell -curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskRunner/executionConfig/history" +curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskrunner/executionconfig/history" ``` @@ -284,7 +284,7 @@ curl "http://ROUTER_IP:ROUTER_PORT/druid/indexer/v1/k8s/taskRunner/executionConf ```HTTP -GET /druid/indexer/v1/k8s/taskRunner/executionConfig/history HTTP/1.1 +GET /druid/indexer/v1/k8s/taskrunner/executionconfig/history HTTP/1.1 Host: http://ROUTER_IP:ROUTER_PORT ```