Kubernetes Service Account and RBAC Tutorial

In this tutorial, we created a Service Account with a Role and RoleBinding for read-only access to Pods. You can find the source code in the GitHub repository. What is a Service Account in Kubernetes? A Service Account in Kubernetes is a special type of account that is used by processes or applications running inside Pods to authenticate and interact with the Kubernetes API. Unlike User Accounts, which are typically associated with human users, Service Accounts are designed for non-human access. They are used to grant specific permissions to applications, allowing them to interact with the Kubernetes cluster in a controlled and secure way. ...

January 16, 2025 路 5 min 路 Hamid

Hello world Kubernetes with Nginx on Minikube

Kubernetes gives you the ability to deploy your app in a highly available way, and it has provisioning features that you can use to avoid manual tasks. There are tons of tutorials about Kubernetes out there, but in this simple post, I just want to give you the simplest deployment ever in Kubernetes. You will see how to deploy nginx with Kubernetes and access it easily. Before deployment, make sure you have properly installed kubectl and minikube, and remove any old stuff from minikube using the delete and start commands. ...

August 18, 2023 路 3 min 路 Hamid