Skip to content

Commit

Permalink
Docs: Fix k8s dynamic config URL (apache#16720)
Browse files Browse the repository at this point in the history
  • Loading branch information
YongGang authored Jul 11, 2024
1 parent 616ae63 commit 4b293fc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/development/extensions-contrib/k8s-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -85,14 +85,14 @@ Returns a JSON object with the dynamic configuration properties.
<TabItem value="2" label="cURL">

```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"
```
</TabItem>

<TabItem value="3" label="HTTP">

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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -276,15 +276,15 @@ 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"
```

</TabItem>
<TabItem value="3" label="HTTP">


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

Expand Down

0 comments on commit 4b293fc

Please sign in to comment.