Difference between revisions of "Access Kubernetes REST API using default token"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  curl $APISERVER[[/api]] [[--header]] "[[Authorization: Bearer]] $TOKEN" --insecure
 
  curl $APISERVER[[/api]] [[--header]] "[[Authorization: Bearer]] $TOKEN" --insecure
 
  Ref: https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/
 
  Ref: https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/
 +
 +
 +
{"type":"error","status":"401","message":"[[Unauthorized 401: must authenticate]]"}
 +
  
 
== Related ==
 
== Related ==

Revision as of 10:36, 10 October 2023

Advertising: