<p>I deleted my cluster-admin role via kubectl using:</p>
<p><code>kubectl delete clusterrole cluster-admin</code></p>
<p>Not sure what I expected, but now I don't have access to the cluster from my account. Any attempt to get or change resources using kubectl returns a 403, Forbidden.
Is there anything I can do to revert this change without blowing away the cluster and creating a new one? I have a managed cluster on Digital Ocean.</p>

eLymar
<blockquote>
<p>Not sure what I expected, but now I don't have access to the cluster from my account.</p>
</blockquote>
<p>If none of the <code>kubectl</code> commands actually work, unfortunately you will not be able to create a new cluster role. The problem is that you won't be able to do anything without an admin role. You can try creating the <code>cluster-admin</code> role directly through the API (not using kubectl), but if that doesn't help you have to recreate the cluster.</p>
