Difference between revisions of "Curl k8s"
Jump to navigation
Jump to search
(Created page with "curl --cert userbob.pem --key userBob-key.pem \ --cacert /path/to/ca.pem \ https://k8sServer:6443/api/v1/pods") |
|||
Line 1: | Line 1: | ||
+ | ``` | ||
curl --cert userbob.pem --key userBob-key.pem \ | curl --cert userbob.pem --key userBob-key.pem \ | ||
--cacert /path/to/ca.pem \ | --cacert /path/to/ca.pem \ | ||
https://k8sServer:6443/api/v1/pods | https://k8sServer:6443/api/v1/pods | ||
+ | ``` | ||
+ | |||
+ | ``` | ||
+ | https://10.128.0.3:6443/api/v1/namespaces/default/pods | ||
+ | ``` |
Revision as of 18:03, 3 January 2025
curl --cert userbob.pem --key userBob-key.pem \ --cacert /path/to/ca.pem \ https://k8sServer:6443/api/v1/pods
https://10.128.0.3:6443/api/v1/namespaces/default/pods