Access Kubernetes API server with curl

You will need: ca.pem, client.pem and client.key - grab them from kubectl config file, base64 decode and put in files.

Next, try to get the list of pods in json format from the default namespace:

curl --cacert ca.pem --cert client.pem --key client.key https://192.168.122.176:6443/api/v1/namespaces/default/pods