K8s

Kubernetes (11)

Willy Vidable

IAM Roles for Service Accounts and Pods-IRSA

In Kubernetes on AWS, there are two complementary access control regimes at work. AWS Identity and Access Management (IAM) allows us to assign permissions to AWS services, for example an S3 bucket. Inside the Kubernetes cluster, the complementary system to define permissions towards Kubernetes…

Continue reading...
Willy Vidable

Understanding the Kubeconfig file

When we develop a Kubernetes cluster, we know we need to also deploy outside it, an administration tool that let us communicate with the cluster to execute administration actions. For that we deploy a Kubernetes client application called kubectl in a computer outside the…

Continue reading...
Willy Vidable

Securing the Kubernetes API server. Part 3

Using ClusterRoles and ClusterRoleBindings Roles and RoleBindings are namespaced resources, which means they reside in and apply to resources in a single namespace, but, as we saw, RoleBindings can refer to ServiceAccounts from other namespaces, too. In addition to these namespaced resources, two cluster-level…

Continue reading...