Paperdrip
by Paperdrip
~1 min read

Tags

  1. Give full permission to default account

kubectl create clusterrolebinding default-admin --clusterrole cluster-admin --serviceaccount=default:default -n default

  1. Obtain Host IP Look for the API URL that is accessible from the internet

  2. Obtain Certificate

kubectl get secret -o yaml

Look for the field “ca.crt” and copy the value

  1. Obtain Token

Look for the field “token” and copy the value