<p>I am deploy a pod in kubernetes cluster,but when I check the pod logs in Kubernetes dashboard it shows:</p>

<pre><code>Forbidden (user=kubernetes, verb=get, resource=nodes, subresource=proxy) ( pods/log soa-room-service-df54f5cdb-5htnp)
</code></pre>

<p>and I check the log from kubectl it also give the same tips,how to give the permission to user kubenetes? this is the command I am using:</p>

<pre><code>kubectl config set-context --current --namespace=dabai-fat
kubectl logs soa-room-service-df54f5cdb-5htnp
</code></pre>

Dolphin
<p>You need to create a clusterrole <code>kubectl create cluserrole rolename --verb=get,proxy --resource=nodes</code> </p>

<p>and a clusterrolebinding <code>kubectl create clusterrolebinding rolebindingname --clusterrole=rolename --user=kubernetes</code></p>
