Skip to content

Tool: kcurl

cdxy edited this page Nov 30, 2020 · 6 revisions

Tool kcurl

通过Pod本地service account token连接K8s api-server发起自定义HTTP请求。

Connect K8s api-server with local service account token and make custom HTTP requests.

Usage

cdk kcurl (get|post) <url> <post-data>

Example

cdk kcurl get "https://192.168.0.234:6443/api/v1/nodes" ""

Clone this wiki locally