Skip to content

Communal.tech

Sharing Knowledge

  • Tools

Category: kubernetes

  • Home
  • kubernetes
Docker & Kubernetes
container docker kubectl kubernetes node-shell

K8s & Docker – Gain root access on container using node-shell

September 4, 2023August 19, 2023 Mike Morris

So you’ve followed best practices and configured your container to use a user other than root for its requirements.  Nice job.   The security experts are convinced this will keep your container, pod, and cluster all more secure. However, sometime in the near future, a completely unforeseen and impossible issue pops

Read More
Kubernetes Ingress
annotation ingress kubernetes

K8s – Add allowlist to existing Ingress

August 21, 2023August 19, 2023 Mike Morris

Once you have a working ingress in place, you may want to restrict access to it by IP.  Fortunately, K8s makes this pretty easy with a simple annotation. Edit the ingress Near the top should be the annotations metadata.annotations Add the following annotation and update it with the desired IPs

Read More
AWS EKS CSI Driver
aws csi-driver eks iam kubernetes role serviceaccount

Installing AWS CSI Driver using eksctl

February 23, 2023August 19, 2023 Mike Morris

  Create IAM Role (Service Account) and attach the policy Run the following command– Update <clustername> with the correct cluster name– Update <role-name> with the role name (example: app-ebs-csi-role)– Update or remove the <awscli-profile> depending on your configuration Install CSI Driver Add the AWS CSI Driver Repo Update Repos Install

Read More
AWS EKS CSI Driver
aws eks kubernetes storage class

Adding an AWS CSI Driver Storage Class

February 23, 2023August 19, 2023 Mike Morris

After you’ve installed the AWS CSI Driver into your cluster, you must create a storage class to use the driver. Create a file called ebs-sc.yaml and paste in the following contents. Apply with the following

Read More
Copyright communal.tech - All Rights Reserved 2023
Proudly powered by WordPress | Theme: Fairy Dark by Candid Themes.