71.6 F
Wednesday, February 24, 2021

Portshift Introduces Five Security Best Practices for Kubernetes Deployments

Portshift has presented five security best practices for DevOps and development professionals managing Kubernetes deployments.

According to the company, integrating these security measures into the CI/CD pipeline will help detect and remediate security issues earlier in the development process, enabling faster and shorter cycles while assuring safe and secure deployments.

Because Kubernetes deployments consist of many different components (including the Kubernetes’ master and nodes, the server that hosts Kubernetes, the container runtime used Kubernetes, networking layers within the cluster and the applications that run inside containers hosted on Kubernetes), securing Kubernetes requires DevOps/developers to address the security challenges associated with each of these components.

To overcome these challenges, below are five security best practices for tackling the K8’s security challenge:

  1. Authorization: Kubernetes offers several authorization methods which are not mutually exclusive. It is recommended to use RBAC for authorization policies controlling how the Kubernetes API is accessed using permissions. ABAC is an additional authorization mechanism that provides powerful and fine-grained policies, but it’s more complex and has few operational constraints (e.g API server restart after permission changes).
  2. Pod Security: Since each pod contains a set of one or more containers, it is essential to control their deployment configurations. Kubernetes Pod Security Policies are cluster-level resources that allow users to deploy their pods securely by controlling their privileges, volumes access and classical Linux security options such as seccomp and SELinux profiles.
  3. Secure the Production Environment: As companies move more deployments into production, that migration increases the volume of vulnerable workloads at runtime. This issue can be overcome by applying the solutions described above, as well as making sure that your organization maintains a healthy DevOps/DevSecOps culture.
  4. Securing CI/CD Pipelines on Kubernetes: Running CI/CD allows for the build-out, testing, and deployment of workloads prior to their deployment in K8’s clusters. Security must be baked at the CI/CD process to allow developers to quickly discover and mitigate potential vulnerabilities and misconfigurations. Otherwise attackers can gain access when these images are deployed and exploit these vulnerabilities in K8 production environments. Inspecting the code of images and deployment configurations at the CI/CD stage can achieve this purpose.
  5. Add Service Mesh to the Network Security Layer: The service mesh addresses common tasks associated with microservices in a unified and agnostic manner. Service mesh automatically balances inter-service traffic based on policies. It also offers a number of security, reliability, and observability benefits that can help manage cluster traffic and increase network stability that is enhanced by a “zero-trust” security model.

A powerful complement to K8’s security infrastructure is the service mesh. It supports a secure cloud-native environment by automatically taking care of service discovery and connection so that both developers and individual microservices do not have to. Used in conjunction with Kubernetes, the service mesh supports applied security at the service level, not just at the network level. The service mesh enables the highest level of security when used in conjunction with identity-based workload protection to secure containers and microservices.



Related Articles

Poly’s Launches Savi 7300 Office Series

Poly introduced the Savi 7300 Office Series, the latest addition in the company's lineup of popular Savi wireless headsets. The Savi 7300 Office Series, designed...

Verizon Expands CX, Contact Center Portfolio with Genesys Cloud

As contact centers are relying on digital, remote-first operations, Verizon Business announced the addition of Genesys Cloud, as part of the company’s global customer...

Infoblox Invests in Cloud Specialization to Scale Success of Channel Partners Selling SaaS

Infoblox Inc., a leader in secure cloud-managed network services, is investing to expand the skill sets of its top-performing cloud-first channel partners with its...

Mitel Launches MiCloud Connect

Mitel has announced the launch of the MiCloud Connect Partner Managed model, an expansion of its flagship public cloud solution, which gives certified partners more...

Consolidated Communications Completes New Hampshire Builds

Consolidated Communications recently completed the construction of high-speed, fiber-to-the-premises (FTTP) internet networks in the New Hampshire towns of Dublin, Rindge and Westmoreland. Upon the completion...