Kubernetes Tips : How Service Account operates

Mr DevOps 🐳 ☸ ☁️ 🌐
1 min readNov 1, 2023

One common query that frequently arises, particularly in DevOps settings, is whether the Kubernetes service account possesses the necessary permissions.

You may have a service account allocated to pods by your team or a platform team.

It’s crucial to understand the extent of a service account’s access for activities such as pod deletion, namespace listing, or deployment removal.

Here’s a simple method to perform this check: utilize the “kubectl auth can-i” command.

--

--