Kubernetes security - Service accounts
In this post we are going to learn more about what is service accounts in Kubernetes and how that is useful. Prerequisites Kubernetes cluster Up and running Let's take the scenario where we get need to connect with the pods, nodes, deployments and other resources in the Kubernetes cluster. you might be working with the automated build with the CICD pipelines to interconnect with each other resources. Pod is going to work with the planned application deployments. If you're working in DevSecOps you need to focus on the regular monthly maintenance OS patching scheduled in this case Kubernetes node maintenance should be done from a pod. In the above two scenarios there is a need of service account inside the pod. When Kubernetes cluster is created at the same time service account also created and its name is default . We can also create our own service accounts using the following command Every service account is associated with the secret wh...